home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: HyperCard Stack
(archive/hypercard).
You can browse this item here: Towers of Hanoi
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 10 00 53 54 41 4b | ff ff ff ff e7 e2 97 81 |....STAK|........|
|00000010| 00 00 00 08 00 00 60 00 | 00 00 10 00 00 00 00 00 |......`.|........|
|00000020| 00 00 00 00 00 00 00 01 | 00 00 0a df 00 00 00 01 |........|........|
|00000030| 00 00 0b e3 00 00 09 41 | 00 00 00 02 00 00 17 40 |.......A|.......@|
|00000040| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |....."..|."..."..|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 1a 80 00 00 14 c0 | 00 00 5d 60 00 00 02 80 |........|..]`....|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 6f 6e 20 64 6f 6d 65 6e | 75 20 6d 65 6e 75 20 2d |on domen|u menu -|
|00000610| 2d 20 53 63 72 69 70 74 | 20 61 64 64 65 64 20 62 |- Script| added b|
|00000620| 79 20 41 6e 69 6d 61 74 | 72 69 78 20 37 2f 31 34 |y Animat|rix 7/14|
|00000630| 2f 38 39 0d 67 6c 6f 62 | 61 6c 20 52 50 73 74 61 |/89.glob|al RPsta|
|00000640| 63 6b 6e 61 6d 65 2c 52 | 50 63 61 72 64 6e 61 6d |ckname,R|Pcardnam|
|00000650| 65 0d 69 66 20 6d 65 6e | 75 20 69 73 20 69 6e 20 |e.if men|u is in |
|00000660| 22 48 6f 6d 65 2c 51 75 | 69 74 20 48 79 70 65 72 |"Home,Qu|it Hyper|
|00000670| 43 61 72 64 22 20 74 68 | 65 6e 0d 69 66 20 52 50 |Card" th|en.if RP|
|00000680| 73 74 61 63 6b 6e 61 6d | 65 20 69 73 20 6e 6f 74 |stacknam|e is not|
|00000690| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 61 6e 73 77 | empty t|hen.answ|
|000006a0| 65 72 20 22 54 68 69 73 | 20 77 69 6c 6c 20 72 65 |er "This| will re|
|000006b0| 74 75 72 6e 20 74 6f 20 | 22 26 52 50 53 74 61 63 |turn to |"&RPStac|
|000006c0| 6b 6e 61 6d 65 26 22 2e | 22 0d 73 65 74 20 63 75 |kname&".|".set cu|
|000006d0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 6c 6f |rsor to |watch.lo|
|000006e0| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 20 63 61 72 |ck scree|n.go car|
|000006f0| 64 20 52 50 63 61 72 64 | 6e 61 6d 65 20 6f 66 20 |d RPcard|name of |
|00000700| 73 74 61 63 6b 20 52 50 | 73 74 61 63 6b 6e 61 6d |stack RP|stacknam|
|00000710| 65 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |e.unlock| screen |
|00000720| 77 69 74 68 20 64 69 73 | 73 6f 6c 76 65 0d 65 78 |with dis|solve.ex|
|00000730| 69 74 20 64 6f 6d 65 6e | 75 0d 65 6c 73 65 20 70 |it domen|u.else p|
|00000740| 61 73 73 20 64 6f 6d 65 | 6e 75 20 2d 2d 20 69 66 |ass dome|nu -- if|
|00000750| 20 52 50 73 74 61 63 6b | 6e 61 6d 65 20 69 73 20 | RPstack|name is |
|00000760| 65 6d 70 74 79 0d 65 6c | 73 65 0d 70 61 73 73 20 |empty.el|se.pass |
|00000770| 64 6f 6d 65 6e 75 20 2d | 2d 20 69 66 20 6d 65 6e |domenu -|- if men|
|00000780| 75 20 69 73 20 6e 6f 74 | 20 69 6e 20 68 6f 6d 65 |u is not| in home|
|00000790| 20 6f 72 20 71 75 69 74 | 0d 65 6e 64 20 69 66 0d | or quit|.end if.|
|000007a0| 65 6e 64 20 64 6f 6d 65 | 6e 75 0d 0d 2d 2d 20 43 |end dome|nu..-- C|
|000007b0| 6f 70 79 72 69 67 68 74 | 20 a9 20 31 39 38 38 20 |opyright| . 1988 |
|000007c0| 43 69 6e 63 69 6e 6e 61 | 74 69 20 43 6f 75 6e 74 |Cincinna|ti Count|
|000007d0| 72 79 20 44 61 79 20 53 | 63 68 6f 6f 6c 2e 20 20 |ry Day S|chool. |
|000007e0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|000007f0| 76 65 64 2e 0d 0d 2d 2d | 20 54 68 69 73 20 69 73 |ved...--| This is|
|00000800| 20 74 68 65 20 72 65 63 | 75 72 73 69 76 65 20 61 | the rec|ursive a|
|00000810| 6c 67 6f 72 69 74 68 6d | 20 74 68 61 74 20 6d 6f |lgorithm| that mo|
|00000820| 76 65 73 20 61 20 74 6f | 77 65 72 20 6f 66 20 22 |ves a to|wer of "|
|00000830| 68 65 69 67 68 74 22 20 | 64 69 73 6b 73 0d 2d 2d |height" |disks.--|
|00000840| 20 66 72 6f 6d 20 74 68 | 65 20 22 73 6f 75 72 63 | from th|e "sourc|
|00000850| 65 22 20 70 6f 6c 65 20 | 74 6f 20 74 68 65 20 22 |e" pole |to the "|
|00000860| 64 65 73 74 22 20 70 6f | 6c 65 20 75 73 69 6e 67 |dest" po|le using|
|00000870| 20 74 68 65 20 22 61 75 | 78 22 20 70 6f 6c 65 20 | the "au|x" pole |
|00000880| 61 73 0d 2d 2d 20 74 68 | 65 20 61 75 78 69 6c 69 |as.-- th|e auxili|
|00000890| 61 72 79 2e 20 20 49 74 | 20 77 6f 72 6b 73 20 61 |ary. It| works a|
|000008a0| 73 20 66 6f 6c 6c 6f 77 | 73 3a 20 20 69 66 20 68 |s follow|s: if h|
|000008b0| 65 69 67 68 74 20 69 73 | 20 30 2c 20 74 68 65 72 |eight is| 0, ther|
|000008c0| 65 20 69 73 20 6e 6f 0d | 2d 2d 20 74 6f 77 65 72 |e is no.|-- tower|
|000008d0| 20 74 6f 20 6d 6f 76 65 | 2c 20 61 6e 64 20 69 66 | to move|, and if|
|000008e0| 20 73 6f 75 72 63 65 20 | 3d 20 64 65 73 74 2c 20 | source |= dest, |
|000008f0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 6d 6f 76 65 |there is| no move|
|00000900| 6d 65 6e 74 2c 20 73 6f | 20 69 6e 0d 2d 2d 20 74 |ment, so| in.-- t|
|00000910| 68 69 73 20 63 61 73 65 | 20 74 68 65 20 61 6c 67 |his case| the alg|
|00000920| 6f 72 69 74 68 6d 20 65 | 78 69 74 73 20 68 61 76 |orithm e|xits hav|
|00000930| 69 6e 67 20 64 6f 6e 65 | 20 6e 6f 74 68 69 6e 67 |ing done| nothing|
|00000940| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 74 68 |. Other|wise, th|
|00000950| 65 0d 2d 2d 20 61 6c 67 | 6f 72 69 74 68 6d 20 72 |e.-- alg|orithm r|
|00000960| 65 63 75 72 73 69 76 65 | 6c 79 20 63 61 6c 6c 73 |ecursive|ly calls|
|00000970| 20 69 74 73 65 6c 66 20 | 74 6f 20 6d 6f 76 65 20 | itself |to move |
|00000980| 61 20 74 6f 77 65 72 20 | 6f 66 20 68 65 69 67 68 |a tower |of heigh|
|00000990| 74 20 2d 20 31 0d 2d 2d | 20 64 69 73 6b 73 20 66 |t - 1.--| disks f|
|000009a0| 72 6f 6d 20 74 68 65 20 | 73 6f 75 72 63 65 20 74 |rom the |source t|
|000009b0| 6f 20 74 68 65 20 61 75 | 78 69 6c 69 61 72 79 20 |o the au|xiliary |
|000009c0| 76 69 61 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |via the |destinat|
|000009d0| 69 6f 6e 2e 20 20 48 61 | 76 69 6e 67 0d 2d 2d 20 |ion. Ha|ving.-- |
|000009e0| 74 68 75 73 20 6d 6f 76 | 65 64 20 61 6c 6c 20 6f |thus mov|ed all o|
|000009f0| 76 65 72 6c 79 69 6e 67 | 20 64 69 73 6b 73 20 6f |verlying| disks o|
|00000a00| 75 74 20 6f 66 20 74 68 | 65 20 77 61 79 2c 20 74 |ut of th|e way, t|
|00000a10| 68 65 20 61 6c 67 6f 72 | 69 74 68 6d 20 74 68 65 |he algor|ithm the|
|00000a20| 6e 0d 2d 2d 20 73 69 6d | 70 6c 79 20 6d 6f 76 65 |n.-- sim|ply move|
|00000a30| 73 20 64 69 73 6b 20 6e | 75 6d 62 65 72 20 22 48 |s disk n|umber "H|
|00000a40| 65 69 67 68 74 22 20 66 | 72 6f 6d 20 74 68 65 20 |eight" f|rom the |
|00000a50| 73 6f 75 72 63 65 20 74 | 6f 20 74 68 65 20 64 65 |source t|o the de|
|00000a60| 73 74 69 6e 61 74 69 6f | 6e 2e 0d 2d 2d 20 46 69 |stinatio|n..-- Fi|
|00000a70| 6e 61 6c 6c 79 2c 20 69 | 74 20 61 67 61 69 6e 20 |nally, i|t again |
|00000a80| 63 61 6c 6c 73 20 69 74 | 73 65 6c 66 20 72 65 63 |calls it|self rec|
|00000a90| 75 72 73 69 76 65 6c 79 | 20 74 6f 20 6d 6f 76 65 |ursively| to move|
|00000aa0| 20 74 68 65 20 74 6f 77 | 65 72 20 6f 66 0d 2d 2d | the tow|er of.--|
|00000ab0| 20 68 65 69 67 68 74 20 | 2d 20 31 20 64 69 73 6b | height |- 1 disk|
|00000ac0| 73 20 66 72 6f 6d 20 74 | 68 65 20 61 75 78 69 6c |s from t|he auxil|
|00000ad0| 69 61 72 79 20 74 6f 20 | 74 68 65 20 64 65 73 74 |iary to |the dest|
|00000ae0| 69 6e 61 74 69 6f 6e 20 | 6f 6e 20 74 6f 70 20 6f |ination |on top o|
|00000af0| 66 20 64 69 73 6b 0d 2d | 2d 20 6e 75 6d 62 65 72 |f disk.-|- number|
|00000b00| 20 22 48 65 69 67 68 74 | 2e 22 20 20 53 65 65 20 | "Height|." See |
|00000b10| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 74 68 |the scri|pt of th|
|00000b20| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 66 6f 72 |e backgr|ound for|
|00000b30| 20 74 68 65 20 64 65 74 | 61 69 6c 73 0d 2d 2d 20 | the det|ails.-- |
|00000b40| 6f 66 20 6f 74 68 65 72 | 20 68 61 6e 64 6c 65 72 |of other| handler|
|00000b50| 73 2e 0d 0d 6f 6e 20 6d | 6f 76 65 54 6f 77 65 72 |s...on m|oveTower|
|00000b60| 20 68 65 69 67 68 74 2c | 20 73 6f 75 72 63 65 2c | height,| source,|
|00000b70| 20 64 65 73 74 2c 20 61 | 75 78 0d 61 64 64 20 31 | dest, a|ux.add 1|
|00000b80| 20 74 6f 20 66 69 65 6c | 64 20 64 65 70 74 68 0d | to fiel|d depth.|
|00000b90| 69 66 20 68 65 69 67 68 | 74 20 3e 20 30 20 61 6e |if heigh|t > 0 an|
|00000ba0| 64 20 73 6f 75 72 63 65 | 20 ad 20 64 65 73 74 20 |d source| . dest |
|00000bb0| 74 68 65 6e 0d 6d 6f 76 | 65 54 6f 77 65 72 20 68 |then.mov|eTower h|
|00000bc0| 65 69 67 68 74 20 2d 20 | 31 2c 20 73 6f 75 72 63 |eight - |1, sourc|
|00000bd0| 65 2c 20 61 75 78 2c 20 | 64 65 73 74 0d 6d 6f 76 |e, aux, |dest.mov|
|00000be0| 65 44 69 73 6b 20 68 65 | 69 67 68 74 2c 20 73 6f |eDisk he|ight, so|
|00000bf0| 75 72 63 65 2c 20 64 65 | 73 74 0d 6d 6f 76 65 54 |urce, de|st.moveT|
|00000c00| 6f 77 65 72 20 68 65 69 | 67 68 74 20 2d 20 31 2c |ower hei|ght - 1,|
|00000c10| 20 61 75 78 2c 20 64 65 | 73 74 2c 20 73 6f 75 72 | aux, de|st, sour|
|00000c20| 63 65 0d 65 6e 64 20 69 | 66 0d 73 75 62 74 72 61 |ce.end i|f.subtra|
|00000c30| 63 74 20 31 20 66 72 6f | 6d 20 66 69 65 6c 64 20 |ct 1 fro|m field |
|00000c40| 64 65 70 74 68 0d 65 6e | 64 20 6d 6f 76 65 54 6f |depth.en|d moveTo|
|00000c50| 77 65 72 0d 0d 6f 6e 20 | 6d 6f 76 65 44 69 73 6b |wer..on |moveDisk|
|00000c60| 20 6e 2c 20 73 6f 75 72 | 63 65 2c 20 64 65 73 74 | n, sour|ce, dest|
|00000c70| 0d 67 6c 6f 62 61 6c 20 | 79 42 61 73 65 2c 20 64 |.global |yBase, d|
|00000c80| 48 65 69 67 68 74 2c 20 | 73 74 61 63 6b 48 65 69 |Height, |stackHei|
|00000c90| 67 68 74 2c 20 78 50 6f | 6c 65 2c 20 70 6f 6c 65 |ght, xPo|le, pole|
|00000ca0| 54 6f 70 0d 67 65 74 20 | 22 44 69 73 6b 22 20 26 |Top.get |"Disk" &|
|00000cb0| 26 20 6e 0d 70 75 74 20 | 74 68 65 20 6c 6f 63 20 |& n.put |the loc |
|00000cc0| 6f 66 20 62 6b 67 6e 64 | 20 62 75 74 74 6f 6e 20 |of bkgnd| button |
|00000cd0| 69 74 20 69 6e 74 6f 20 | 64 53 6f 75 72 63 65 0d |it into |dSource.|
|00000ce0| 70 75 74 20 22 30 2c 30 | 22 20 69 6e 74 6f 20 64 |put "0,0|" into d|
|00000cf0| 44 65 73 74 31 0d 70 75 | 74 20 69 74 65 6d 20 73 |Dest1.pu|t item s|
|00000d00| 6f 75 72 63 65 20 6f 66 | 20 78 50 6f 6c 65 20 69 |ource of| xPole i|
|00000d10| 6e 74 6f 20 69 74 65 6d | 20 31 20 6f 66 20 64 44 |nto item| 1 of dD|
|00000d20| 65 73 74 31 0d 70 75 74 | 20 70 6f 6c 65 54 6f 70 |est1.put| poleTop|
|00000d30| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00000d40| 64 44 65 73 74 31 0d 70 | 75 74 20 64 44 65 73 74 |dDest1.p|ut dDest|
|00000d50| 31 20 69 6e 74 6f 20 64 | 44 65 73 74 32 0d 70 75 |1 into d|Dest2.pu|
|00000d60| 74 20 69 74 65 6d 20 64 | 65 73 74 20 6f 66 20 78 |t item d|est of x|
|00000d70| 50 6f 6c 65 20 69 6e 74 | 6f 20 69 74 65 6d 20 31 |Pole int|o item 1|
|00000d80| 20 6f 66 20 64 44 65 73 | 74 32 0d 70 75 74 20 64 | of dDes|t2.put d|
|00000d90| 44 65 73 74 32 20 69 6e | 74 6f 20 64 44 65 73 74 |Dest2 in|to dDest|
|00000da0| 33 0d 70 75 74 20 79 42 | 61 73 65 20 2d 20 64 48 |3.put yB|ase - dH|
|00000db0| 65 69 67 68 74 20 2a 20 | 69 74 65 6d 20 64 65 73 |eight * |item des|
|00000dc0| 74 20 6f 66 20 73 74 61 | 63 6b 48 65 69 67 68 74 |t of sta|ckHeight|
|00000dd0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00000de0| 64 44 65 73 74 33 0d 64 | 72 61 67 20 66 72 6f 6d |dDest3.d|rag from|
|00000df0| 20 64 53 6f 75 72 63 65 | 20 74 6f 20 64 44 65 73 | dSource| to dDes|
|00000e00| 74 31 0d 64 72 61 67 20 | 66 72 6f 6d 20 64 44 65 |t1.drag |from dDe|
|00000e10| 73 74 31 20 74 6f 20 64 | 44 65 73 74 32 0d 64 72 |st1 to d|Dest2.dr|
|00000e20| 61 67 20 66 72 6f 6d 20 | 64 44 65 73 74 32 20 74 |ag from |dDest2 t|
|00000e30| 6f 20 64 44 65 73 74 33 | 0d 73 75 62 74 72 61 63 |o dDest3|.subtrac|
|00000e40| 74 20 31 20 66 72 6f 6d | 20 69 74 65 6d 20 73 6f |t 1 from| item so|
|00000e50| 75 72 63 65 20 6f 66 20 | 73 74 61 63 6b 48 65 69 |urce of |stackHei|
|00000e60| 67 68 74 0d 61 64 64 20 | 31 20 74 6f 20 69 74 65 |ght.add |1 to ite|
|00000e70| 6d 20 64 65 73 74 20 6f | 66 20 73 74 61 63 6b 48 |m dest o|f stackH|
|00000e80| 65 69 67 68 74 0d 61 64 | 64 20 31 20 74 6f 20 66 |eight.ad|d 1 to f|
|00000e90| 69 65 6c 64 20 6d 6f 76 | 65 73 0d 65 6e 64 20 6d |ield mov|es.end m|
|00000ea0| 6f 76 65 44 69 73 6b 0d | 00 74 20 2a 20 69 74 65 |oveDisk.|.t * ite|
|00000eb0| 6d 20 64 65 73 74 20 6f | 66 20 73 74 61 63 6b 48 |m dest o|f stackH|
|00000ec0| 65 69 67 68 74 0d 73 75 | 62 74 72 61 63 74 20 31 |eight.su|btract 1|
|00000ed0| 20 66 72 6f 6d 20 69 74 | 65 6d 20 73 6f 75 72 63 | from it|em sourc|
|00000ee0| 65 20 6f 66 20 73 74 61 | 63 6b 48 65 69 67 68 74 |e of sta|ckHeight|
|00000ef0| 0d 61 64 64 20 31 20 74 | 6f 20 69 74 65 6d 20 64 |.add 1 t|o item d|
|00000f00| 65 73 74 20 6f 66 20 73 | 74 61 63 6b 48 65 69 67 |est of s|tackHeig|
|00000f10| 68 74 0d 65 6e 64 20 6d | 6f 76 65 44 69 73 6b 0d |ht.end m|oveDisk.|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 01 7a a8 00 00 90 41 | 00 01 df df 00 01 82 e3 |..z....A|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 94 1d 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 80 4c 49 53 54 | 00 00 09 41 00 00 00 01 |....LIST|...A....|
|00001210| 00 00 08 00 00 00 00 01 | 00 44 00 02 00 10 00 03 |........|.D......|
|00001220| a0 00 01 c4 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 0e 1d 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 08 00 50 41 47 45 | 00 00 0e 1d 00 00 09 41 |....PAGE|.......A|
|00001290| 60 00 01 7c 00 00 00 00 | 00 00 0b e3 60 36 ff ff |`..|....|....`6..|
|000012a0| fe ea fd de fc 7e ee fb | be dd ff cf c6 d8 fe 5e |.....~..|.......^|
|000012b0| ff 7b 37 ff f3 8f bb fc | f7 ed 2f f3 ff 77 ff ff |.{7.....|../..w..|
|000012c0| ff bd ff ef db f3 ff ff | df 7b ff ff ff 55 56 7b |........|.{...UV{|
|000012d0| 7f df d7 ff 1b b7 ff f7 | 7f df ff fb 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 14 c0 46 52 45 45 | 00 00 00 00 13 46 72 65 |....FREE|.....Fre|
|00001a90| 65 20 4f 62 6a 65 63 74 | 20 20 20 20 20 20 20 20 |e Object| |
|00001aa0| 00 0e 00 61 00 00 07 d4 | 00 00 00 00 00 00 00 e6 |...a....|........|
|00001ab0| 00 07 01 00 00 3d 00 97 | 00 53 00 ef a0 04 00 00 |.....=..|.S......|
|00001ac0| 00 00 00 01 00 00 00 0c | 00 00 00 10 53 65 74 20 |........|....Set |
|00001ad0| 54 6f 77 65 72 00 00 6f | 6e 20 6d 6f 75 73 65 55 |Tower..o|n mouseU|
|00001ae0| 70 0d 61 6e 73 77 65 72 | 20 22 44 69 73 6b 73 20 |p.answer| "Disks |
|00001af0| 6f 6e 20 77 68 69 63 68 | 20 70 6f 6c 65 3f 22 20 |on which| pole?" |
|00001b00| 77 69 74 68 20 22 4c 65 | 66 74 22 20 6f 72 20 22 |with "Le|ft" or "|
|00001b10| 43 65 6e 74 65 72 22 20 | 6f 72 20 22 52 69 67 68 |Center" |or "Righ|
|00001b20| 74 22 0d 69 66 20 69 74 | 20 3d 20 22 52 69 67 68 |t".if it| = "Righ|
|00001b30| 74 22 20 74 68 65 6e 0d | 73 65 74 54 6f 77 65 72 |t" then.|setTower|
|00001b40| 20 33 0d 65 6c 73 65 0d | 69 66 20 69 74 20 3d 20 | 3.else.|if it = |
|00001b50| 22 43 65 6e 74 65 72 22 | 20 74 68 65 6e 0d 73 65 |"Center"| then.se|
|00001b60| 74 54 6f 77 65 72 20 32 | 0d 65 6c 73 65 0d 73 65 |tTower 2|.else.se|
|00001b70| 74 54 6f 77 65 72 20 31 | 0d 65 6e 64 20 69 66 0d |tTower 1|.end if.|
|00001b80| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6f 75 73 65 |end if.e|nd mouse|
|00001b90| 55 70 0d 00 00 ec 00 08 | 01 00 00 3d 00 f3 00 53 |Up......|...=...S|
|00001ba0| 01 4b a0 04 00 00 00 00 | 00 01 00 00 00 0c 00 00 |.K......|........|
|00001bb0| 00 10 4d 6f 76 65 20 54 | 6f 77 65 72 00 00 6f 6e |..Move T|ower..on|
|00001bc0| 20 6d 6f 75 73 65 55 70 | 0d 61 6e 73 77 65 72 20 | mouseUp|.answer |
|00001bd0| 22 4d 6f 76 65 20 74 6f | 20 77 68 69 63 68 20 70 |"Move to| which p|
|00001be0| 6f 6c 65 3f 22 20 77 69 | 74 68 20 22 4c 65 66 74 |ole?" wi|th "Left|
|00001bf0| 22 20 6f 72 20 22 43 65 | 6e 74 65 72 22 20 6f 72 |" or "Ce|nter" or|
|00001c00| 20 22 52 69 67 68 74 22 | 0d 69 66 20 69 74 20 3d | "Right"|.if it =|
|00001c10| 20 22 52 69 67 68 74 22 | 20 74 68 65 6e 0d 73 68 | "Right"| then.sh|
|00001c20| 69 66 74 54 6f 77 65 72 | 20 33 0d 65 6c 73 65 0d |iftTower| 3.else.|
|00001c30| 69 66 20 69 74 20 3d 20 | 22 43 65 6e 74 65 72 22 |if it = |"Center"|
|00001c40| 20 74 68 65 6e 0d 73 68 | 69 66 74 54 6f 77 65 72 | then.sh|iftTower|
|00001c50| 20 32 0d 65 6c 73 65 0d | 73 68 69 66 74 54 6f 77 | 2.else.|shiftTow|
|00001c60| 65 72 20 31 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |er 1.end| if.end |
|00001c70| 69 66 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |if.end m|ouseUp..|
|00001c80| 02 e6 00 09 01 00 00 18 | 00 69 00 39 01 97 a0 04 |........|.i.9....|
|00001c90| 00 00 00 00 00 01 00 03 | 00 12 08 00 00 18 54 6f |........|......To|
|00001ca0| 77 65 72 20 6f 66 20 48 | 61 6e 6f 69 00 00 6f 6e |wer of H|anoi..on|
|00001cb0| 20 6d 6f 75 73 65 55 70 | 0d 69 66 20 74 68 65 20 | mouseUp|.if the |
|00001cc0| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00001cd0| 66 69 65 6c 64 20 48 65 | 6c 70 20 69 73 20 74 72 |field He|lp is tr|
|00001ce0| 75 65 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |ue then.|set the |
|00001cf0| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00001d00| 66 69 65 6c 64 20 22 48 | 65 6c 70 22 20 74 6f 20 |field "H|elp" to |
|00001d10| 66 61 6c 73 65 0d 65 6c | 73 65 0d 73 65 74 20 74 |false.el|se.set t|
|00001d20| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 63 61 |he visib|le of ca|
|00001d30| 72 64 20 66 69 65 6c 64 | 20 41 75 74 68 6f 72 20 |rd field| Author |
|00001d40| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00001d50| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00001d60| 62 75 74 74 6f 6e 20 4f | 4b 20 74 6f 20 74 72 75 |button O|K to tru|
|00001d70| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 6f 75 |e.end if|.end mou|
|00001d80| 73 65 55 70 0d 0d 2d 2d | 20 41 6e 73 77 65 72 73 |seUp..--| Answers|
|00001d90| 20 74 6f 20 74 68 65 20 | 71 75 65 73 74 69 6f 6e | to the |question|
|00001da0| 73 20 70 6f 73 65 64 20 | 69 6e 20 74 68 65 20 22 |s posed |in the "|
|00001db0| 48 65 6c 70 22 20 66 69 | 65 6c 64 3a 0d 2d 2d 20 |Help" fi|eld:.-- |
|00001dc0| 49 66 20 6e 20 69 73 20 | 74 68 65 20 6e 75 6d 62 |If n is |the numb|
|00001dd0| 65 72 20 6f 66 20 64 69 | 73 6b 73 20 69 6e 20 74 |er of di|sks in t|
|00001de0| 68 65 20 73 74 61 63 6b | 2c 20 74 68 65 20 6d 61 |he stack|, the ma|
|00001df0| 78 69 6d 75 6d 20 64 65 | 70 74 68 20 6f 66 0d 2d |ximum de|pth of.-|
|00001e00| 2d 20 72 65 63 75 72 73 | 69 6f 6e 20 69 73 20 6e |- recurs|ion is n|
|00001e10| 2c 20 61 6e 64 20 74 68 | 65 20 74 6f 74 61 6c 20 |, and th|e total |
|00001e20| 6e 75 6d 62 65 72 20 6f | 66 20 6d 6f 76 65 73 20 |number o|f moves |
|00001e30| 69 73 20 32 5e 6e 20 2d | 20 31 2e 0d 2d 2d 20 42 |is 2^n -| 1..-- B|
|00001e40| 79 20 74 68 65 20 77 61 | 79 2c 20 74 68 69 73 20 |y the wa|y, this |
|00001e50| 6d 65 61 6e 73 20 74 68 | 61 74 20 74 68 65 20 54 |means th|at the T|
|00001e60| 69 62 65 74 61 6e 20 6d | 6f 6e 6b 73 20 68 61 76 |ibetan m|onks hav|
|00001e70| 65 20 74 68 65 69 72 20 | 77 6f 72 6b 20 63 75 74 |e their |work cut|
|00001e80| 0d 2d 2d 20 6f 75 74 20 | 66 6f 72 20 74 68 65 6d |.-- out |for them|
|00001e90| 20 77 69 74 68 20 61 20 | 73 74 61 63 6b 20 6f 66 | with a |stack of|
|00001ea0| 20 31 30 30 20 64 69 73 | 6b 73 2e 20 20 45 76 65 | 100 dis|ks. Eve|
|00001eb0| 6e 20 69 66 20 74 68 65 | 79 20 77 65 72 65 20 75 |n if the|y were u|
|00001ec0| 73 69 6e 67 0d 2d 2d 20 | 61 20 43 72 61 79 20 73 |sing.-- |a Cray s|
|00001ed0| 75 70 65 72 63 6f 6d 70 | 75 74 65 72 2c 20 61 6e |upercomp|uter, an|
|00001ee0| 64 20 63 6f 75 6c 64 20 | 6d 61 6b 65 20 6f 6e 65 |d could |make one|
|00001ef0| 20 6d 6f 76 65 20 70 65 | 72 20 6e 61 6e 6f 73 65 | move pe|r nanose|
|00001f00| 63 6f 6e 64 2c 0d 2d 2d | 20 63 6f 6d 70 6c 65 74 |cond,.--| complet|
|00001f10| 69 6f 6e 20 6f 66 20 74 | 68 65 20 74 61 73 6b 20 |ion of t|he task |
|00001f20| 77 6f 75 6c 64 20 73 74 | 69 6c 6c 20 74 61 6b 65 |would st|ill take|
|00001f30| 20 61 62 6f 75 74 20 33 | 30 30 30 20 74 69 6d 65 | about 3|000 time|
|00001f40| 73 20 74 68 65 0d 2d 2d | 20 70 72 65 73 65 6e 74 |s the.--| present|
|00001f50| 20 61 67 65 20 6f 66 20 | 74 68 65 20 75 6e 69 76 | age of |the univ|
|00001f60| 65 72 73 65 2e 00 00 82 | 00 12 01 00 01 3b 00 7e |erse....|.....;.~|
|00001f70| 01 53 00 a1 00 01 00 00 | 61 aa 00 01 00 00 00 0c |.S......|a.......|
|00001f80| 00 00 00 10 48 65 6c 70 | 00 00 6f 6e 20 6d 6f 75 |....Help|..on mou|
|00001f90| 73 65 55 70 0d 73 65 74 | 20 74 68 65 20 76 69 73 |seUp.set| the vis|
|00001fa0| 69 62 6c 65 20 6f 66 20 | 63 61 72 64 20 66 69 65 |ible of |card fie|
|00001fb0| 6c 64 20 48 65 6c 70 20 | 74 6f 20 6e 6f 74 20 76 |ld Help |to not v|
|00001fc0| 69 73 69 62 6c 65 20 6f | 66 20 63 61 72 64 20 66 |isible o|f card f|
|00001fd0| 69 65 6c 64 20 48 65 6c | 70 0d 65 6e 64 20 6d 6f |ield Hel|p.end mo|
|00001fe0| 75 73 65 55 70 0d 00 00 | 00 2c 00 31 02 01 01 28 |useUp...|.,.1...(|
|00001ff0| 00 72 01 37 00 e5 00 01 | 00 00 00 00 ff ff 00 02 |.r.7....|........|
|00002000| 00 0a 00 00 00 0d 64 65 | 70 74 68 4c 61 62 65 6c |......de|pthLabel|
|00002010| 00 00 00 00 00 26 00 32 | 02 01 01 28 00 e5 01 37 |.....&.2|...(...7|
|00002020| 00 fe 00 02 00 00 00 00 | 00 01 00 02 00 0a 00 00 |........|........|
|00002030| 00 0d 64 65 70 74 68 00 | 00 00 00 26 00 34 02 01 |..depth.|...&.4..|
|00002040| 01 28 01 02 01 37 01 1b | 00 02 00 00 00 00 00 01 |.(...7..|........|
|00002050| 00 02 00 0a 00 00 00 0d | 6d 6f 76 65 73 00 00 00 |........|moves...|
|00002060| 00 2a 00 35 02 01 01 28 | 01 1b 01 37 01 8e 00 01 |.*.5...(|...7....|
|00002070| 00 00 00 00 00 00 00 02 | 00 0a 00 00 00 0d 6d 6f |........|......mo|
|00002080| 76 65 4c 61 62 65 6c 00 | 00 00 00 f8 00 3c 01 00 |veLabel.|.....<..|
|00002090| 00 3d 00 3b 00 53 00 93 | a0 04 00 00 00 00 00 01 |.=.;.S..|........|
|000020a0| 00 00 00 0c 00 00 00 10 | 4d 61 6b 65 20 54 6f 77 |........|Make Tow|
|000020b0| 65 72 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |er..on m|ouseUp.g|
|000020c0| 6c 6f 62 61 6c 20 6d 61 | 78 44 69 73 6b 73 0d 67 |lobal ma|xDisks.g|
|000020d0| 65 74 20 2d 31 0d 72 65 | 70 65 61 74 20 77 68 69 |et -1.re|peat whi|
|000020e0| 6c 65 20 69 74 20 3c 20 | 30 20 6f 72 20 69 74 20 |le it < |0 or it |
|000020f0| 3e 20 6d 61 78 44 69 73 | 6b 73 0d 61 73 6b 20 22 |> maxDis|ks.ask "|
|00002100| 48 6f 77 20 6d 61 6e 79 | 20 64 69 73 6b 73 20 28 |How many| disks (|
|00002110| 30 20 2d 22 20 26 26 20 | 6d 61 78 44 69 73 6b 73 |0 -" && |maxDisks|
|00002120| 20 26 20 22 29 3f 22 0d | 69 66 20 69 74 20 69 73 | & ")?".|if it is|
|00002130| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00002140| 20 6d 6f 75 73 65 55 70 | 0d 67 65 74 20 72 6f 75 | mouseUp|.get rou|
|00002150| 6e 64 28 20 69 74 20 29 | 0d 65 6e 64 20 72 65 70 |nd( it )|.end rep|
|00002160| 65 61 74 0d 6d 61 6b 65 | 54 6f 77 65 72 20 69 74 |eat.make|Tower it|
|00002170| 2c 20 31 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |, 1.end |mouseUp.|
|00002180| 00 00 00 60 00 3d 01 00 | 00 3d 01 4f 00 53 01 c5 |...`.=..|.=.O.S..|
|00002190| a0 04 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|000021a0| 53 65 65 20 41 6c 67 6f | 72 69 74 68 6d 00 00 6f |See Algo|rithm..o|
|000021b0| 6e 20 6d 6f 75 73 65 55 | 70 0d 65 64 69 74 20 73 |n mouseU|p.edit s|
|000021c0| 63 72 69 70 74 20 6f 66 | 20 74 68 69 73 20 73 74 |cript of| this st|
|000021d0| 61 63 6b 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |ack.end |mouseUp.|
|000021e0| 00 00 00 28 00 55 01 00 | 00 c8 00 e2 00 dc 01 1e |...(.U..|........|
|000021f0| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00002200| 44 69 73 6b 20 31 00 00 | 00 00 00 28 00 5f 01 00 |Disk 1..|...(._..|
|00002210| 00 dc 00 dd 00 f0 01 23 | 80 03 00 00 00 00 00 01 |.......#|........|
|00002220| 00 00 00 0c 00 00 00 10 | 44 69 73 6b 20 32 00 00 |........|Disk 2..|
|00002230| 00 00 00 28 00 60 01 00 | 00 f0 00 d8 01 04 01 28 |...(.`..|.......(|
|00002240| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00002250| 44 69 73 6b 20 33 00 00 | 00 00 00 28 00 61 01 00 |Disk 3..|...(.a..|
|00002260| 00 f0 00 3d 01 04 00 97 | 80 03 00 00 00 00 00 01 |...=....|........|
|00002270| 00 00 00 0c 00 00 00 10 | 44 69 73 6b 20 34 00 00 |........|Disk 4..|
|00002280| 00 00 00 2d 2d 20 43 6f | 70 79 72 69 67 68 74 20 |...-- Co|pyright |
|00002290| a9 20 31 39 38 38 20 43 | 69 6e 63 69 6e 6e 61 74 |. 1988 C|incinnat|
|000022a0| 69 20 43 6f 75 6e 74 72 | 79 20 44 61 79 20 53 63 |i Countr|y Day Sc|
|000022b0| 68 6f 6f 6c 2e 20 20 41 | 6c 6c 20 72 69 67 68 74 |hool. A|ll right|
|000022c0| 73 20 72 65 73 65 72 76 | 65 64 2e 0d 0d 2d 2d 20 |s reserv|ed...-- |
|000022d0| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |For info|rmation,|
|000022e0| 20 63 6f 6e 74 61 63 74 | 20 4a 6f 73 65 70 68 20 | contact| Joseph |
|000022f0| 46 2e 20 48 6f 66 6d 65 | 69 73 74 65 72 2c 20 43 |F. Hofme|ister, C|
|00002300| 6f 6d 70 75 74 65 72 20 | 43 6f 6f 72 64 69 6e 61 |omputer |Coordina|
|00002310| 74 6f 72 0d 2d 2d 20 54 | 68 65 20 48 79 70 65 72 |tor.-- T|he Hyper|
|00002320| 53 63 68 6f 6f 6c 2c 20 | 43 69 6e 63 69 6e 6e 61 |School, |Cincinna|
|00002330| 74 69 20 43 6f 75 6e 74 | 72 79 20 44 61 79 20 53 |ti Count|ry Day S|
|00002340| 63 68 6f 6f 6c 0d 2d 2d | 20 36 39 30 35 20 47 69 |chool.--| 6905 Gi|
|00002350| 76 65 6e 20 52 6f 61 64 | 2c 20 43 69 6e 63 69 6e |ven Road|, Cincin|
|00002360| 6e 61 74 69 2c 20 4f 68 | 69 6f 20 34 35 32 34 33 |nati, Oh|io 45243|
|00002370| 0d 2d 2d 20 54 65 6c 65 | 70 68 6f 6e 65 20 35 31 |.-- Tele|phone 51|
|00002380| 33 2d 35 36 31 2d 37 32 | 39 38 20 20 41 70 70 6c |3-561-72|98 Appl|
|00002390| 65 4c 69 6e 6b 20 4b 30 | 31 39 37 0d 0d 6f 6e 20 |eLink K0|197..on |
|000023a0| 6f 70 65 6e 53 74 61 63 | 6b 0d 69 66 20 74 68 65 |openStac|k.if the|
|000023b0| 20 76 65 72 73 69 6f 6e | 20 3c 20 31 2e 32 20 74 | version| < 1.2 t|
|000023c0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |hen.answ|er "This|
|000023d0| 20 73 74 61 63 6b 20 6e | 65 65 64 73 20 48 79 70 | stack n|eeds Hyp|
|000023e0| 65 72 43 61 72 64 20 76 | 65 72 73 69 6f 6e 20 31 |erCard v|ersion 1|
|000023f0| 2e 32 2e 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |.2.".set| lockMes|
|00002400| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 67 6f |sages to| true.go|
|00002410| 20 68 6f 6d 65 0d 65 6c | 73 65 0d 68 69 64 65 20 | home.el|se.hide |
|00002420| 6d 65 73 73 61 67 65 0d | 72 65 73 65 74 20 70 61 |message.|reset pa|
|00002430| 69 6e 74 0d 69 6e 69 74 | 54 6f 77 65 72 0d 73 65 |int.init|Tower.se|
|00002440| 74 54 6f 77 65 72 20 32 | 0d 65 6e 64 20 69 66 0d |tTower 2|.end if.|
|00002450| 65 6e 64 20 6f 70 65 6e | 53 74 61 63 6b 0d 0d 6f |end open|Stack..o|
|00002460| 6e 20 63 6c 6f 73 65 53 | 74 61 63 6b 0d 72 65 73 |n closeS|tack.res|
|00002470| 65 74 20 70 61 69 6e 74 | 0d 65 6e 64 20 63 6c 6f |et paint|.end clo|
|00002480| 73 65 53 74 61 63 6b 0d | 0d 6f 6e 20 69 6e 69 74 |seStack.|.on init|
|00002490| 54 6f 77 65 72 0d 67 6c | 6f 62 61 6c 20 6d 61 78 |Tower.gl|obal max|
|000024a0| 44 69 73 6b 73 2c 20 6e | 44 69 73 6b 73 2c 20 79 |Disks, n|Disks, y|
|000024b0| 42 61 73 65 2c 20 64 48 | 65 69 67 68 74 2c 20 78 |Base, dH|eight, x|
|000024c0| 50 6f 6c 65 2c 20 70 6f | 6c 65 54 6f 70 0d 70 75 |Pole, po|leTop.pu|
|000024d0| 74 20 37 20 69 6e 74 6f | 20 6d 61 78 44 69 73 6b |t 7 into| maxDisk|
|000024e0| 73 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |s.put th|e number|
|000024f0| 20 6f 66 20 62 6b 67 6e | 64 20 62 75 74 74 6f 6e | of bkgn|d button|
|00002500| 73 20 2d 20 37 20 69 6e | 74 6f 20 6e 44 69 73 6b |s - 7 in|to nDisk|
|00002510| 73 0d 70 75 74 20 32 35 | 30 20 69 6e 74 6f 20 79 |s.put 25|0 into y|
|00002520| 42 61 73 65 0d 70 75 74 | 20 32 30 20 69 6e 74 6f |Base.put| 20 into|
|00002530| 20 64 48 65 69 67 68 74 | 0d 70 75 74 20 22 30 2c | dHeight|.put "0,|
|00002540| 30 2c 30 22 20 69 6e 74 | 6f 20 78 50 6f 6c 65 0d |0,0" int|o xPole.|
|00002550| 67 65 74 20 72 6f 75 6e | 64 28 20 77 69 64 74 68 |get roun|d( width|
|00002560| 20 6f 66 20 63 61 72 64 | 20 77 69 6e 64 6f 77 20 | of card| window |
|00002570| 2f 20 32 20 29 0d 70 75 | 74 20 69 74 20 2d 20 31 |/ 2 ).pu|t it - 1|
|00002580| 35 30 20 69 6e 74 6f 20 | 69 74 65 6d 20 31 20 6f |50 into |item 1 o|
|00002590| 66 20 78 50 6f 6c 65 0d | 70 75 74 20 69 74 20 69 |f xPole.|put it i|
|000025a0| 6e 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 78 50 |nto item| 2 of xP|
|000025b0| 6f 6c 65 0d 70 75 74 20 | 69 74 20 2b 20 31 35 30 |ole.put |it + 150|
|000025c0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 33 20 6f 66 20 | into it|em 3 of |
|000025d0| 78 50 6f 6c 65 0d 70 75 | 74 20 79 42 61 73 65 20 |xPole.pu|t yBase |
|000025e0| 2d 20 72 6f 75 6e 64 28 | 20 37 2e 35 20 2a 20 64 |- round(| 7.5 * d|
|000025f0| 48 65 69 67 68 74 20 29 | 20 2d 20 34 20 69 6e 74 |Height )| - 4 int|
|00002600| 6f 20 70 6f 6c 65 54 6f | 70 0d 65 6e 64 20 69 6e |o poleTo|p.end in|
|00002610| 69 74 54 6f 77 65 72 0d | 0d 6f 6e 20 6d 61 6b 65 |itTower.|.on make|
|00002620| 42 61 73 65 0d 67 6c 6f | 62 61 6c 20 79 42 61 73 |Base.glo|bal yBas|
|00002630| 65 2c 20 64 48 65 69 67 | 68 74 2c 20 78 50 6f 6c |e, dHeig|ht, xPol|
|00002640| 65 2c 20 70 6f 6c 65 54 | 6f 70 0d 73 65 74 20 74 |e, poleT|op.set t|
|00002650| 68 65 20 65 64 69 74 42 | 6b 67 6e 64 20 74 6f 20 |he editB|kgnd to |
|00002660| 74 72 75 65 0d 63 68 6f | 6f 73 65 20 73 65 6c 65 |true.cho|ose sele|
|00002670| 63 74 20 74 6f 6f 6c 0d | 64 72 61 67 20 66 72 6f |ct tool.|drag fro|
|00002680| 6d 20 30 2c 30 20 74 6f | 20 77 69 64 74 68 20 6f |m 0,0 to| width o|
|00002690| 66 20 63 61 72 64 20 77 | 69 6e 64 6f 77 2c 20 68 |f card w|indow, h|
|000026a0| 65 69 67 68 74 20 6f 66 | 20 63 61 72 64 20 77 69 |eight of| card wi|
|000026b0| 6e 64 6f 77 0d 64 6f 4d | 65 6e 75 20 22 43 6c 65 |ndow.doM|enu "Cle|
|000026c0| 61 72 20 50 69 63 74 75 | 72 65 22 0d 63 68 6f 6f |ar Pictu|re".choo|
|000026d0| 73 65 20 72 6f 75 6e 64 | 20 72 65 63 74 20 74 6f |se round| rect to|
|000026e0| 6f 6c 0d 73 65 74 20 74 | 68 65 20 66 69 6c 6c 65 |ol.set t|he fille|
|000026f0| 64 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 74 68 |d to tru|e.set th|
|00002700| 65 20 70 61 74 74 65 72 | 6e 20 74 6f 20 32 32 0d |e patter|n to 22.|
|00002710| 70 75 74 20 70 6f 6c 65 | 54 6f 70 20 2b 20 34 20 |put pole|Top + 4 |
|00002720| 2b 20 72 6f 75 6e 64 28 | 20 64 48 65 69 67 68 74 |+ round(| dHeight|
|00002730| 20 2f 20 32 20 29 20 69 | 6e 74 6f 20 74 0d 70 75 | / 2 ) i|nto t.pu|
|00002740| 74 20 79 42 61 73 65 20 | 2b 20 64 48 65 69 67 68 |t yBase |+ dHeigh|
|00002750| 74 20 69 6e 74 6f 20 62 | 0d 72 65 70 65 61 74 20 |t into b|.repeat |
|00002760| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 33 0d |with i =| 1 to 3.|
|00002770| 67 65 74 20 69 74 65 6d | 20 69 20 6f 66 20 78 50 |get item| i of xP|
|00002780| 6f 6c 65 0d 64 72 61 67 | 20 66 72 6f 6d 20 69 74 |ole.drag| from it|
|00002790| 20 2d 20 35 2c 20 74 20 | 74 6f 20 69 74 20 2b 20 | - 5, t |to it + |
|000027a0| 35 2c 20 62 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |5, b.end| repeat.|
|000027b0| 73 65 74 20 74 68 65 20 | 70 61 74 74 65 72 6e 20 |set the |pattern |
|000027c0| 74 6f 20 32 30 0d 67 65 | 74 20 79 42 61 73 65 20 |to 20.ge|t yBase |
|000027d0| 2b 20 72 6f 75 6e 64 28 | 20 64 48 65 69 67 68 74 |+ round(| dHeight|
|000027e0| 20 2f 20 32 20 29 0d 64 | 72 61 67 20 66 72 6f 6d | / 2 ).d|rag from|
|000027f0| 20 69 74 65 6d 20 31 20 | 6f 66 20 78 50 6f 6c 65 | item 1 |of xPole|
|00002800| 20 2d 20 39 30 2c 20 69 | 74 20 74 6f c2 0d 69 74 | - 90, i|t to..it|
|00002810| 65 6d 20 33 20 6f 66 20 | 78 50 6f 6c 65 20 2b 20 |em 3 of |xPole + |
|00002820| 39 30 2c 20 69 74 20 2b | 20 72 6f 75 6e 64 28 20 |90, it +| round( |
|00002830| 31 2e 35 20 2a 20 64 48 | 65 69 67 68 74 20 29 0d |1.5 * dH|eight ).|
|00002840| 72 65 73 65 74 20 70 61 | 69 6e 74 0d 63 68 6f 6f |reset pa|int.choo|
|00002850| 73 65 20 62 72 6f 77 73 | 65 20 74 6f 6f 6c 0d 65 |se brows|e tool.e|
|00002860| 6e 64 20 6d 61 6b 65 42 | 61 73 65 0d 0d 6f 6e 20 |nd makeB|ase..on |
|00002870| 64 65 6c 65 74 65 54 6f | 77 65 72 0d 67 6c 6f 62 |deleteTo|wer.glob|
|00002880| 61 6c 20 6e 44 69 73 6b | 73 0d 63 68 6f 6f 73 65 |al nDisk|s.choose|
|00002890| 20 62 75 74 74 6f 6e 20 | 74 6f 6f 6c 0d 73 65 74 | button |tool.set|
|000028a0| 20 74 68 65 20 65 64 69 | 74 42 6b 67 6e 64 20 74 | the edi|tBkgnd t|
|000028b0| 6f 20 74 72 75 65 0d 72 | 65 70 65 61 74 20 77 69 |o true.r|epeat wi|
|000028c0| 74 68 20 69 20 3d 20 74 | 68 65 20 6e 75 6d 62 65 |th i = t|he numbe|
|000028d0| 72 20 6f 66 20 62 6b 67 | 6e 64 20 62 75 74 74 6f |r of bkg|nd butto|
|000028e0| 6e 73 20 64 6f 77 6e 20 | 74 6f 20 38 0d 69 66 20 |ns down |to 8.if |
|000028f0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 62 6b 67 6e |the name| of bkgn|
|00002900| 64 20 62 75 74 74 6f 6e | 20 69 20 63 6f 6e 74 61 |d button| i conta|
|00002910| 69 6e 73 20 22 44 69 73 | 6b 22 20 74 68 65 6e 0d |ins "Dis|k" then.|
|00002920| 63 6c 69 63 6b 20 61 74 | 20 74 68 65 20 6c 6f 63 |click at| the loc|
|00002930| 20 6f 66 20 62 6b 67 6e | 64 20 62 75 74 74 6f 6e | of bkgn|d button|
|00002940| 20 69 0d 64 6f 4d 65 6e | 75 20 22 43 6c 65 61 72 | i.doMen|u "Clear|
|00002950| 20 42 75 74 74 6f 6e 22 | 0d 65 6e 64 20 69 66 0d | Button"|.end if.|
|00002960| 65 6e 64 20 72 65 70 65 | 61 74 0d 63 68 6f 6f 73 |end repe|at.choos|
|00002970| 65 20 62 72 6f 77 73 65 | 20 74 6f 6f 6c 0d 70 75 |e browse| tool.pu|
|00002980| 74 20 30 20 69 6e 74 6f | 20 6e 44 69 73 6b 73 0d |t 0 into| nDisks.|
|00002990| 65 6e 64 20 64 65 6c 65 | 74 65 54 6f 77 65 72 0d |end dele|teTower.|
|000029a0| 0d 6f 6e 20 6d 61 6b 65 | 54 6f 77 65 72 20 68 65 |.on make|Tower he|
|000029b0| 69 67 68 74 2c 20 64 65 | 73 74 0d 67 6c 6f 62 61 |ight, de|st.globa|
|000029c0| 6c 20 6e 44 69 73 6b 73 | 2c 20 79 42 61 73 65 2c |l nDisks|, yBase,|
|000029d0| 20 64 48 65 69 67 68 74 | 2c 20 78 50 6f 6c 65 0d | dHeight|, xPole.|
|000029e0| 67 6c 6f 62 61 6c 20 66 | 69 72 73 74 50 6f 6c 65 |global f|irstPole|
|000029f0| 2c 20 73 74 61 63 6b 48 | 65 69 67 68 74 0d 64 65 |, stackH|eight.de|
|00002a00| 6c 65 74 65 54 6f 77 65 | 72 0d 73 65 74 20 74 68 |leteTowe|r.set th|
|00002a10| 65 20 65 64 69 74 42 6b | 67 6e 64 20 74 6f 20 74 |e editBk|gnd to t|
|00002a20| 72 75 65 0d 70 75 74 20 | 68 65 69 67 68 74 20 69 |rue.put |height i|
|00002a30| 6e 74 6f 20 6e 44 69 73 | 6b 73 0d 70 75 74 20 64 |nto nDis|ks.put d|
|00002a40| 65 73 74 20 69 6e 74 6f | 20 66 69 72 73 74 50 6f |est into| firstPo|
|00002a50| 6c 65 0d 70 75 74 20 22 | 30 2c 30 2c 30 22 20 69 |le.put "|0,0,0" i|
|00002a60| 6e 74 6f 20 73 74 61 63 | 6b 48 65 69 67 68 74 0d |nto stac|kHeight.|
|00002a70| 70 75 74 20 6e 44 69 73 | 6b 73 20 69 6e 74 6f 20 |put nDis|ks into |
|00002a80| 69 74 65 6d 20 66 69 72 | 73 74 50 6f 6c 65 20 6f |item fir|stPole o|
|00002a90| 66 20 73 74 61 63 6b 48 | 65 69 67 68 74 0d 70 75 |f stackH|eight.pu|
|00002aa0| 74 20 69 74 65 6d 20 66 | 69 72 73 74 50 6f 6c 65 |t item f|irstPole|
|00002ab0| 20 6f 66 20 78 50 6f 6c | 65 20 69 6e 74 6f 20 74 | of xPol|e into t|
|00002ac0| 68 69 73 50 6f 6c 65 0d | 70 75 74 20 79 42 61 73 |hisPole.|put yBas|
|00002ad0| 65 20 2d 20 64 48 65 69 | 67 68 74 20 2a 20 28 20 |e - dHei|ght * ( |
|00002ae0| 6e 44 69 73 6b 73 20 2d | 20 31 20 29 20 69 6e 74 |nDisks -| 1 ) int|
|00002af0| 6f 20 79 44 69 73 6b 0d | 70 75 74 20 36 30 20 69 |o yDisk.|put 60 i|
|00002b00| 6e 74 6f 20 64 57 69 64 | 74 68 0d 72 65 70 65 61 |nto dWid|th.repea|
|00002b10| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00002b20| 6e 44 69 73 6b 73 0d 64 | 6f 4d 65 6e 75 20 22 4e |nDisks.d|oMenu "N|
|00002b30| 65 77 20 42 75 74 74 6f | 6e 22 0d 67 65 74 20 22 |ew Butto|n".get "|
|00002b40| 44 69 73 6b 22 20 26 26 | 20 69 0d 73 65 74 20 74 |Disk" &&| i.set t|
|00002b50| 68 65 20 6e 61 6d 65 20 | 6f 66 20 62 6b 67 6e 64 |he name |of bkgnd|
|00002b60| 20 62 75 74 74 6f 6e 20 | 22 4e 65 77 20 42 75 74 | button |"New But|
|00002b70| 74 6f 6e 22 20 74 6f 20 | 69 74 0d 73 65 74 20 74 |ton" to |it.set t|
|00002b80| 68 65 20 77 69 64 74 68 | 20 6f 66 20 62 6b 67 6e |he width| of bkgn|
|00002b90| 64 20 62 75 74 74 6f 6e | 20 69 74 20 74 6f 20 64 |d button| it to d|
|00002ba0| 57 69 64 74 68 0d 73 65 | 74 20 74 68 65 20 68 65 |Width.se|t the he|
|00002bb0| 69 67 68 74 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 |ight of |bkgnd bu|
|00002bc0| 74 74 6f 6e 20 69 74 20 | 74 6f 20 64 48 65 69 67 |tton it |to dHeig|
|00002bd0| 68 74 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |ht.set t|he loc o|
|00002be0| 66 20 62 6b 67 6e 64 20 | 62 75 74 74 6f 6e 20 69 |f bkgnd |button i|
|00002bf0| 74 20 74 6f 20 74 68 69 | 73 50 6f 6c 65 2c 20 79 |t to thi|sPole, y|
|00002c00| 44 69 73 6b 0d 61 64 64 | 20 31 30 20 74 6f 20 64 |Disk.add| 10 to d|
|00002c10| 57 69 64 74 68 0d 61 64 | 64 20 64 48 65 69 67 68 |Width.ad|d dHeigh|
|00002c20| 74 20 74 6f 20 79 44 69 | 73 6b 0d 65 6e 64 20 72 |t to yDi|sk.end r|
|00002c30| 65 70 65 61 74 0d 63 68 | 6f 6f 73 65 20 62 72 6f |epeat.ch|oose bro|
|00002c40| 77 73 65 20 74 6f 6f 6c | 0d 70 75 74 20 30 20 69 |wse tool|.put 0 i|
|00002c50| 6e 74 6f 20 66 69 65 6c | 64 20 64 65 70 74 68 0d |nto fiel|d depth.|
|00002c60| 70 75 74 20 30 20 69 6e | 74 6f 20 66 69 65 6c 64 |put 0 in|to field|
|00002c70| 20 6d 6f 76 65 73 0d 65 | 6e 64 20 6d 61 6b 65 54 | moves.e|nd makeT|
|00002c80| 6f 77 65 72 0d 0d 6f 6e | 20 73 65 74 54 6f 77 65 |ower..on| setTowe|
|00002c90| 72 20 64 65 73 74 0d 67 | 6c 6f 62 61 6c 20 6e 44 |r dest.g|lobal nD|
|00002ca0| 69 73 6b 73 2c 20 79 42 | 61 73 65 2c 20 64 48 65 |isks, yB|ase, dHe|
|00002cb0| 69 67 68 74 2c 20 78 50 | 6f 6c 65 0d 67 6c 6f 62 |ight, xP|ole.glob|
|00002cc0| 61 6c 20 66 69 72 73 74 | 50 6f 6c 65 2c 20 73 74 |al first|Pole, st|
|00002cd0| 61 63 6b 48 65 69 67 68 | 74 0d 70 75 74 20 64 65 |ackHeigh|t.put de|
|00002ce0| 73 74 20 69 6e 74 6f 20 | 66 69 72 73 74 50 6f 6c |st into |firstPol|
|00002cf0| 65 0d 70 75 74 20 22 30 | 2c 30 2c 30 22 20 69 6e |e.put "0|,0,0" in|
|00002d00| 74 6f 20 73 74 61 63 6b | 48 65 69 67 68 74 0d 70 |to stack|Height.p|
|00002d10| 75 74 20 6e 44 69 73 6b | 73 20 69 6e 74 6f 20 69 |ut nDisk|s into i|
|00002d20| 74 65 6d 20 66 69 72 73 | 74 50 6f 6c 65 20 6f 66 |tem firs|tPole of|
|00002d30| 20 73 74 61 63 6b 48 65 | 69 67 68 74 0d 70 75 74 | stackHe|ight.put|
|00002d40| 20 69 74 65 6d 20 66 69 | 72 73 74 50 6f 6c 65 20 | item fi|rstPole |
|00002d50| 6f 66 20 78 50 6f 6c 65 | 20 69 6e 74 6f 20 74 68 |of xPole| into th|
|00002d60| 69 73 50 6f 6c 65 0d 70 | 75 74 20 79 42 61 73 65 |isPole.p|ut yBase|
|00002d70| 20 2d 20 64 48 65 69 67 | 68 74 20 2a 20 28 20 6e | - dHeig|ht * ( n|
|00002d80| 44 69 73 6b 73 20 2d 20 | 31 20 29 20 69 6e 74 6f |Disks - |1 ) into|
|00002d90| 20 79 44 69 73 6b 0d 72 | 65 70 65 61 74 20 77 69 | yDisk.r|epeat wi|
|00002da0| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 6e 44 69 73 |th i = 1| to nDis|
|00002db0| 6b 73 0d 67 65 74 20 22 | 44 69 73 6b 22 20 26 26 |ks.get "|Disk" &&|
|00002dc0| 20 69 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f | i.set t|he loc o|
|00002dd0| 66 20 62 6b 67 6e 64 20 | 62 75 74 74 6f 6e 20 69 |f bkgnd |button i|
|00002de0| 74 20 74 6f 20 74 68 69 | 73 50 6f 6c 65 2c 20 79 |t to thi|sPole, y|
|00002df0| 44 69 73 6b 0d 61 64 64 | 20 64 48 65 69 67 68 74 |Disk.add| dHeight|
|00002e00| 20 74 6f 20 79 44 69 73 | 6b 0d 65 6e 64 20 72 65 | to yDis|k.end re|
|00002e10| 70 65 61 74 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |peat.put| 0 into |
|00002e20| 66 69 65 6c 64 20 64 65 | 70 74 68 0d 70 75 74 20 |field de|pth.put |
|00002e30| 30 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 6d 6f 76 |0 into f|ield mov|
|00002e40| 65 73 0d 65 6e 64 20 73 | 65 74 54 6f 77 65 72 0d |es.end s|etTower.|
|00002e50| 0d 6f 6e 20 73 68 69 66 | 74 54 6f 77 65 72 20 64 |.on shif|tTower d|
|00002e60| 65 73 74 0d 67 6c 6f 62 | 61 6c 20 6e 44 69 73 6b |est.glob|al nDisk|
|00002e70| 73 2c 20 66 69 72 73 74 | 50 6f 6c 65 0d 70 75 74 |s, first|Pole.put|
|00002e80| 20 30 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 64 65 | 0 into |field de|
|00002e90| 70 74 68 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 66 |pth.put |0 into f|
|00002ea0| 69 65 6c 64 20 6d 6f 76 | 65 73 0d 63 68 6f 6f 73 |ield mov|es.choos|
|00002eb0| 65 20 62 75 74 74 6f 6e | 20 74 6f 6f 6c 0d 6d 6f |e button| tool.mo|
|00002ec0| 76 65 54 6f 77 65 72 20 | 6e 44 69 73 6b 73 2c 20 |veTower |nDisks, |
|00002ed0| 66 69 72 73 74 50 6f 6c | 65 2c 20 64 65 73 74 2c |firstPol|e, dest,|
|00002ee0| 20 36 20 2d 20 66 69 72 | 73 74 50 6f 6c 65 20 2d | 6 - fir|stPole -|
|00002ef0| 20 64 65 73 74 0d 70 75 | 74 20 64 65 73 74 20 69 | dest.pu|t dest i|
|00002f00| 6e 74 6f 20 66 69 72 73 | 74 50 6f 6c 65 0d 63 68 |nto firs|tPole.ch|
|00002f10| 6f 6f 73 65 20 62 72 6f | 77 73 65 20 74 6f 6f 6c |oose bro|wse tool|
|00002f20| 0d 65 6e 64 20 73 68 69 | 66 74 54 6f 77 65 72 0d |.end shi|ftTower.|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 01 00 42 4d 41 50 | 00 00 08 a8 00 00 00 00 |....BMAP|........|
|00002f50| 00 01 00 00 00 00 00 00 | 01 56 02 00 00 00 00 00 |........|.V......|
|00002f60| 01 56 02 00 00 6e 00 10 | 01 23 01 f1 00 00 00 00 |.V...n..|.#......|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 bc 1d 70 e1 21 |........|.....p.!|
|00002f80| 01 c0 e1 11 07 0d 2c 01 | dc e1 21 07 70 e1 21 1d |......,.|..!.p.!.|
|00002f90| c0 0c 2c 01 ac e1 21 06 | b0 e1 21 1a c0 0c 2c 03 |..,...!.|..!...,.|
|00002fa0| 56 e1 21 0d 58 e1 21 35 | 60 0c 2c 02 aa e1 21 0a |V.!.X.!5|`.,...!.|
|00002fb0| a8 e1 21 2a a0 0c 2c 05 | 55 e1 21 15 54 e1 21 55 |..!*..,.|U.!.T.!U|
|00002fc0| 50 0c 2c 06 ab e1 21 1a | ac e1 21 6a b0 0c bf 86 |P.,...!.|..!j....|
|00002fd0| bf 86 bf 86 bf 86 b3 86 | 8c 12 02 e3 1a 10 02 8f |........|........|
|00002fe0| 22 0d d0 e3 39 05 d8 00 | 22 17 60 e3 39 03 74 00 |"...9...|".`.9.t.|
|00002ff0| 8b 12 30 e3 1a 06 02 12 | 60 e3 1a 03 02 12 60 e3 |..0.....|`.....`.|
|00003000| 1a 03 02 12 80 e3 2b 80 | 00 12 80 e3 2b 80 00 b1 |......+.|....+...|
|00003010| 86 12 80 e3 2b 80 00 12 | 80 e3 2b 80 00 12 60 e3 |....+...|..+...`.|
|00003020| 1a 03 02 12 60 e3 1a 03 | 02 12 30 e3 1a 06 02 8c |....`...|..0.....|
|00003030| 12 02 e3 1a 10 02 f1 58 | 16 0a 00 00 fb 33 11 00 |.......X|.....3..|
|00003040| 00 00 0b a0 43 41 52 44 | 00 00 0b e3 00 00 00 00 |....CARD|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0e 1d |........|........|
|00003060| 00 00 0a df 00 04 00 0e | 00 00 01 a0 00 06 00 00 |........|........|
|00003070| 09 af 00 28 00 0b 02 81 | 00 3d 00 3b 00 da 01 c6 |...(....|.=.;....|
|00003080| 20 04 00 00 00 00 00 00 | 00 02 00 0a 00 00 00 0d | .......|........|
|00003090| 41 75 74 68 6f 72 00 00 | 00 00 00 94 00 0c 01 80 |Author..|........|
|000030a0| 00 bd 01 7a 00 d3 01 be | 80 03 00 00 00 00 00 01 |...z....|........|
|000030b0| 00 00 00 0c 00 00 00 10 | 4f 4b 00 00 6f 6e 20 6d |........|OK..on m|
|000030c0| 6f 75 73 65 55 70 0d 73 | 65 74 20 74 68 65 20 76 |ouseUp.s|et the v|
|000030d0| 69 73 69 62 6c 65 20 6f | 66 20 63 61 72 64 20 62 |isible o|f card b|
|000030e0| 75 74 74 6f 6e 20 4f 4b | 20 74 6f 20 66 61 6c 73 |utton OK| to fals|
|000030f0| 65 0d 73 65 74 20 74 68 | 65 20 76 69 73 69 62 6c |e.set th|e visibl|
|00003100| 65 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |e of car|d field |
|00003110| 41 75 74 68 6f 72 20 74 | 6f 20 66 61 6c 73 65 0d |Author t|o false.|
|00003120| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 00 82 |end mous|eUp.....|
|00003130| 00 0a 02 81 00 3d 00 3b | 00 da 01 c5 00 07 00 00 |.....=.;|........|
|00003140| 00 00 00 00 00 02 00 0c | 00 00 00 0e 48 65 6c 70 |........|....Help|
|00003150| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 73 65 74 |..on mou|seUp.set|
|00003160| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 6f 66 20 | the vis|ible of |
|00003170| 63 61 72 64 20 66 69 65 | 6c 64 20 48 65 6c 70 20 |card fie|ld Help |
|00003180| 74 6f 20 6e 6f 74 20 76 | 69 73 69 62 6c 65 20 6f |to not v|isible o|
|00003190| 66 20 63 61 72 64 20 66 | 69 65 6c 64 20 48 65 6c |f card f|ield Hel|
|000031a0| 70 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 00 00 |p.end mo|useUp...|
|000031b0| 00 62 00 0e 01 00 01 3f | 00 10 01 54 00 4c a0 02 |.b.....?|...T.L..|
|000031c0| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 52 65 |........|......Re|
|000031d0| 74 75 72 6e 00 00 6f 6e | 20 6d 6f 75 73 65 55 70 |turn..on| mouseUp|
|000031e0| 0d 67 6c 6f 62 61 6c 20 | 72 65 74 75 72 6e 63 61 |.global |returnca|
|000031f0| 72 64 0d 67 6f 20 74 6f | 20 72 65 74 75 72 6e 63 |rd.go to| returnc|
|00003200| 61 72 64 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |ard.end |mouseUp.|
|00003210| 00 00 ff f6 54 6f 77 65 | 72 20 6f 66 20 48 61 6e |....Towe|r of Han|
|00003220| 6f 69 20 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 3a |oi Instr|uctions:|
|00003230| 0d 0d 28 20 43 6c 69 63 | 6b 20 6f 6e 20 74 68 65 |..( Clic|k on the|
|00003240| 20 74 69 74 6c 65 20 22 | 54 6f 77 65 72 20 6f 66 | title "|Tower of|
|00003250| 20 48 61 6e 6f 69 22 20 | 61 62 6f 76 65 20 74 6f | Hanoi" |above to|
|00003260| 20 68 69 64 65 20 74 68 | 69 73 20 69 6e 66 6f 72 | hide th|is infor|
|00003270| 6d 61 74 69 6f 6e 2e 20 | 29 0d 0d 54 68 69 73 20 |mation. |)..This |
|00003280| 73 74 61 63 6b 20 64 65 | 6d 6f 6e 73 74 72 61 74 |stack de|monstrat|
|00003290| 65 73 20 74 68 65 20 75 | 73 65 20 6f 66 20 61 20 |es the u|se of a |
|000032a0| 72 65 63 75 72 73 69 76 | 65 20 61 6c 67 6f 72 69 |recursiv|e algori|
|000032b0| 74 68 6d 20 74 6f 20 73 | 6f 6c 76 65 20 74 68 65 |thm to s|olve the|
|000032c0| 20 63 6c 61 73 73 69 63 | 20 54 6f 77 65 72 20 6f | classic| Tower o|
|000032d0| 66 20 48 61 6e 6f 69 20 | 70 72 6f 62 6c 65 6d 2e |f Hanoi |problem.|
|000032e0| 20 20 54 68 65 20 73 6f | 6c 75 74 69 6f 6e 20 69 | The so|lution i|
|000032f0| 6e 76 6f 6c 76 65 73 20 | 6d 6f 76 65 6d 65 6e 74 |nvolves |movement|
|00003300| 20 6f 66 20 61 20 73 74 | 61 63 6b 20 6f 66 20 64 | of a st|ack of d|
|00003310| 69 73 6b 73 20 66 72 6f | 6d 20 6f 6e 65 20 6f 66 |isks fro|m one of|
|00003320| 20 74 68 72 65 65 20 70 | 6f 6c 65 73 20 74 6f 20 | three p|oles to |
|00003330| 61 6e 6f 74 68 65 72 2e | 20 20 54 68 65 72 65 20 |another.| There |
|00003340| 61 72 65 20 74 77 6f 20 | 76 65 72 79 20 73 69 6d |are two |very sim|
|00003350| 70 6c 65 20 72 75 6c 65 | 73 3a 20 6f 6e 6c 79 20 |ple rule|s: only |
|00003360| 6f 6e 65 20 64 69 73 6b | 20 63 61 6e 20 62 65 20 |one disk| can be |
|00003370| 6d 6f 76 65 64 20 61 74 | 20 61 20 74 69 6d 65 2c |moved at| a time,|
|00003380| 20 61 6e 64 20 6e 6f 20 | 64 69 73 6b 20 63 61 6e | and no |disk can|
|00003390| 20 65 76 65 72 20 62 65 | 20 70 6c 61 63 65 64 20 | ever be| placed |
|000033a0| 6f 6e 20 74 6f 70 20 6f | 66 20 61 20 73 6d 61 6c |on top o|f a smal|
|000033b0| 6c 65 72 20 6f 6e 65 2e | 20 20 4c 65 67 65 6e 64 |ler one.| Legend|
|000033c0| 20 68 61 73 20 69 74 20 | 74 68 61 74 20 74 68 65 | has it |that the|
|000033d0| 72 65 20 69 73 20 61 6e | 20 6f 72 64 65 72 20 6f |re is an| order o|
|000033e0| 66 20 54 69 62 65 74 61 | 6e 20 6d 6f 6e 6b 73 20 |f Tibeta|n monks |
|000033f0| 77 68 6f 20 68 61 76 65 | 20 62 65 65 6e 20 6c 61 |who have| been la|
|00003400| 62 6f 72 69 6e 67 20 70 | 61 74 69 65 6e 74 6c 79 |boring p|atiently|
|00003410| 20 66 6f 72 20 63 65 6e | 74 75 72 69 65 73 20 74 | for cen|turies t|
|00003420| 6f 20 6d 6f 76 65 20 61 | 20 74 6f 77 65 72 20 6f |o move a| tower o|
|00003430| 66 20 6f 6e 65 20 68 75 | 6e 64 72 65 64 20 64 69 |f one hu|ndred di|
|00003440| 73 6b 73 2e 20 20 54 68 | 65 20 63 6f 6d 70 6c 65 |sks. Th|e comple|
|00003450| 74 69 6f 6e 20 6f 66 20 | 74 68 65 69 72 20 74 61 |tion of |their ta|
|00003460| 73 6b 20 77 69 6c 6c 20 | 62 72 69 6e 67 20 74 68 |sk will |bring th|
|00003470| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 75 6e 69 |e end of| the uni|
|00003480| 76 65 72 73 65 2e 20 20 | 4a 75 73 74 20 68 6f 77 |verse. |Just how|
|00003490| 20 77 6f 72 72 69 65 64 | 20 73 68 6f 75 6c 64 20 | worried| should |
|000034a0| 79 6f 75 20 62 65 3f 20 | 20 59 6f 75 20 63 61 6e |you be? | You can|
|000034b0| 20 75 73 65 20 74 68 69 | 73 20 73 74 61 63 6b 20 | use thi|s stack |
|000034c0| 74 6f 20 66 69 6e 64 20 | 6f 75 74 2e 0d 0d 55 6e |to find |out...Un|
|000034d0| 64 65 72 6e 65 61 74 68 | 20 74 68 65 20 74 69 74 |derneath| the tit|
|000034e0| 6c 65 20 62 75 74 74 6f | 6e 20 61 72 65 20 66 6f |le butto|n are fo|
|000034f0| 75 72 20 62 75 74 74 6f | 6e 73 20 74 68 61 74 20 |ur butto|ns that |
|00003500| 63 6f 6e 74 72 6f 6c 20 | 74 68 65 20 6f 70 65 72 |control |the oper|
|00003510| 61 74 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 73 74 |ation of| this st|
|00003520| 61 63 6b 2e 20 20 46 72 | 6f 6d 20 6c 65 66 74 20 |ack. Fr|om left |
|00003530| 74 6f 20 72 69 67 68 74 | 20 74 68 65 79 20 61 72 |to right| they ar|
|00003540| 65 20 22 4d 61 6b 65 20 | 54 6f 77 65 72 2c 22 20 |e "Make |Tower," |
|00003550| 22 53 65 74 20 54 6f 77 | 65 72 2c 22 20 22 4d 6f |"Set Tow|er," "Mo|
|00003560| 76 65 20 54 6f 77 65 72 | 2c 22 20 61 6e 64 20 22 |ve Tower|," and "|
|00003570| 53 65 65 20 41 6c 67 6f | 72 69 74 68 6d 2e 22 0d |See Algo|rithm.".|
|00003580| 0d 43 6c 69 63 6b 20 22 | 4d 61 6b 65 20 54 6f 77 |.Click "|Make Tow|
|00003590| 65 72 22 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 |er" to c|reate a |
|000035a0| 73 74 61 63 6b 20 6f 66 | 20 62 65 74 77 65 65 6e |stack of| between|
|000035b0| 20 30 20 61 6e 64 20 37 | 20 64 69 73 6b 73 2e 20 | 0 and 7| disks. |
|000035c0| 20 54 68 65 20 73 74 61 | 63 6b 20 69 73 20 61 75 | The sta|ck is au|
|000035d0| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 70 6f 73 69 |tomatica|lly posi|
|000035e0| 74 69 6f 6e 65 64 20 6f | 6e 20 74 68 65 20 6c 65 |tioned o|n the le|
|000035f0| 66 74 20 70 6f 6c 65 2e | 0d 0d 54 6f 20 72 65 73 |ft pole.|..To res|
|00003600| 65 74 20 74 68 65 20 70 | 6f 73 69 74 69 6f 6e 20 |et the p|osition |
|00003610| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 20 6f 66 20 |of the s|tack of |
|00003620| 64 69 73 6b 73 2c 20 63 | 6c 69 63 6b 20 22 53 65 |disks, c|lick "Se|
|00003630| 74 20 54 6f 77 65 72 2e | 22 20 20 41 20 64 69 61 |t Tower.|" A dia|
|00003640| 6c 6f 67 20 62 6f 78 20 | 61 70 70 65 61 72 73 20 |log box |appears |
|00003650| 67 69 76 69 6e 67 20 79 | 6f 75 20 74 68 65 20 63 |giving y|ou the c|
|00003660| 68 6f 69 63 65 20 6f 66 | 20 73 65 74 74 69 6e 67 |hoice of| setting|
|00003670| 20 74 68 65 20 74 6f 77 | 65 72 20 6f 6e 20 74 68 | the tow|er on th|
|00003680| 65 20 6c 65 66 74 2c 20 | 63 65 6e 74 65 72 2c 20 |e left, |center, |
|00003690| 6f 72 20 72 69 67 68 74 | 20 70 6f 6c 65 73 2e 0d |or right| poles..|
|000036a0| 0d 54 6f 20 6d 6f 76 65 | 20 74 68 65 20 73 74 61 |.To move| the sta|
|000036b0| 63 6b 20 6f 66 20 64 69 | 73 6b 73 20 75 73 69 6e |ck of di|sks usin|
|000036c0| 67 20 74 68 65 20 54 6f | 77 65 72 20 6f 66 20 48 |g the To|wer of H|
|000036d0| 61 6e 6f 69 20 61 6c 67 | 6f 72 69 74 68 6d 2c 20 |anoi alg|orithm, |
|000036e0| 63 6c 69 63 6b 20 22 4d | 6f 76 65 20 54 6f 77 65 |click "M|ove Towe|
|000036f0| 72 2e 22 20 20 41 67 61 | 69 6e 20 61 20 64 69 61 |r." Aga|in a dia|
|00003700| 6c 6f 67 20 62 6f 78 20 | 61 70 70 65 61 72 73 20 |log box |appears |
|00003710| 61 6c 6c 6f 77 69 6e 67 | 20 79 6f 75 20 74 6f 20 |allowing| you to |
|00003720| 73 65 6c 65 63 74 20 74 | 68 65 20 64 65 73 74 69 |select t|he desti|
|00003730| 6e 61 74 69 6f 6e 20 70 | 6f 6c 65 2e 20 20 54 68 |nation p|ole. Th|
|00003740| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 70 6f 6c 65 |e remain|ing pole|
|00003750| 2c 20 77 68 69 63 68 20 | 69 73 20 6e 65 69 74 68 |, which |is neith|
|00003760| 65 72 20 74 68 65 20 73 | 6f 75 72 63 65 20 6e 6f |er the s|ource no|
|00003770| 72 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |r the de|stinatio|
|00003780| 6e 2c 20 69 73 20 61 75 | 74 6f 6d 61 74 69 63 61 |n, is au|tomatica|
|00003790| 6c 6c 79 20 75 73 65 64 | 20 61 73 20 74 68 65 20 |lly used| as the |
|000037a0| 61 75 78 69 6c 69 61 72 | 79 20 70 6f 6c 65 2e 20 |auxiliar|y pole. |
|000037b0| 20 54 68 65 20 63 75 72 | 72 65 6e 74 20 64 65 70 | The cur|rent dep|
|000037c0| 74 68 20 6f 66 20 72 65 | 63 75 72 73 69 6f 6e 20 |th of re|cursion |
|000037d0| 61 6e 64 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |and the |number o|
|000037e0| 66 20 6d 6f 76 65 73 20 | 61 72 65 20 64 69 73 70 |f moves |are disp|
|000037f0| 6c 61 79 65 64 20 62 65 | 6e 65 61 74 68 20 74 68 |layed be|neath th|
|00003800| 65 20 62 61 73 65 20 6f | 66 20 74 68 65 20 64 69 |e base o|f the di|
|00003810| 73 6b 20 68 6f 6c 64 65 | 72 2e 20 20 42 79 20 74 |sk holde|r. By t|
|00003820| 65 73 74 69 6e 67 20 74 | 68 65 20 6f 70 65 72 61 |esting t|he opera|
|00003830| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 61 6c 67 6f |tion of |the algo|
|00003840| 72 69 74 68 6d 20 6f 6e | 20 74 6f 77 65 72 73 20 |rithm on| towers |
|00003850| 6f 66 20 64 69 66 66 65 | 72 65 6e 74 20 68 65 69 |of diffe|rent hei|
|00003860| 67 68 74 73 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |ghts, yo|u should|
|00003870| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 64 65 74 65 | be able| to dete|
|00003880| 72 6d 69 6e 65 20 74 68 | 65 20 6d 61 78 69 6d 75 |rmine th|e maximu|
|00003890| 6d 20 64 65 70 74 68 20 | 6f 66 20 72 65 63 75 72 |m depth |of recur|
|000038a0| 73 69 6f 6e 20 61 6e 64 | 20 74 68 65 20 74 6f 74 |sion and| the tot|
|000038b0| 61 6c 20 6e 75 6d 62 65 | 72 20 6f 66 20 6d 6f 76 |al numbe|r of mov|
|000038c0| 65 73 20 69 6e 20 74 65 | 72 6d 73 20 6f 66 20 74 |es in te|rms of t|
|000038d0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 64 69 73 |he numbe|r of dis|
|000038e0| 6b 73 20 69 6e 20 74 68 | 65 20 73 74 61 63 6b 2e |ks in th|e stack.|
|000038f0| 20 20 28 53 65 65 20 74 | 68 65 20 73 63 72 69 70 | (See t|he scrip|
|00003900| 74 20 6f 66 20 74 68 65 | 20 74 69 74 6c 65 20 62 |t of the| title b|
|00003910| 75 74 74 6f 6e 20 66 6f | 72 20 74 68 65 20 61 6e |utton fo|r the an|
|00003920| 73 77 65 72 73 2c 20 61 | 6e 64 20 64 6f 6e 27 74 |swers, a|nd don't|
|00003930| 20 63 68 65 61 74 21 29 | 0d 0d 54 6f 20 65 78 61 | cheat!)|..To exa|
|00003940| 6d 69 6e 65 20 74 68 65 | 20 72 65 63 75 72 73 69 |mine the| recursi|
|00003950| 76 65 20 54 6f 77 65 72 | 20 6f 66 20 48 61 6e 6f |ve Tower| of Hano|
|00003960| 69 20 6d 6f 76 65 6d 65 | 6e 74 20 68 61 6e 64 6c |i moveme|nt handl|
|00003970| 65 72 20 22 6d 6f 76 65 | 54 6f 77 65 72 2c 22 20 |er "move|Tower," |
|00003980| 63 6c 69 63 6b 20 22 53 | 65 65 20 41 6c 67 6f 72 |click "S|ee Algor|
|00003990| 69 74 68 6d 2e 22 20 20 | 59 6f 75 20 6d 61 79 20 |ithm." |You may |
|000039a0| 61 6c 73 6f 20 76 69 65 | 77 20 74 68 65 20 73 63 |also vie|w the sc|
|000039b0| 72 69 70 74 20 6f 66 20 | 74 68 65 20 62 61 63 6b |ript of |the back|
|000039c0| 67 72 6f 75 6e 64 20 62 | 79 20 74 79 70 69 6e 67 |ground b|y typing|
|000039d0| 20 43 6f 6d 6d 61 6e 64 | 2d 4f 70 74 69 6f 6e 2d | Command|-Option-|
|000039e0| 42 20 74 6f 20 65 78 61 | 6d 69 6e 65 20 74 68 65 |B to exa|mine the|
|000039f0| 20 6f 74 68 65 72 20 68 | 61 6e 64 6c 65 72 73 20 | other h|andlers |
|00003a00| 74 68 61 74 20 73 75 70 | 70 6f 72 74 20 74 68 65 |that sup|port the|
|00003a10| 20 6f 70 65 72 61 74 69 | 6f 6e 20 6f 66 20 74 68 | operati|on of th|
|00003a20| 69 73 20 73 74 61 63 6b | 2e 0d 0d 43 6c 69 63 6b |is stack|...Click|
|00003a30| 69 6e 67 20 6f 6e 20 74 | 68 65 20 74 69 74 6c 65 |ing on t|he title|
|00003a40| 20 22 54 6f 77 65 72 20 | 6f 66 20 48 61 6e 6f 69 | "Tower |of Hanoi|
|00003a50| 22 20 61 62 6f 76 65 20 | 77 69 6c 6c 20 68 69 64 |" above |will hid|
|00003a60| 65 20 74 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 |e this i|nformati|
|00003a70| 6f 6e 20 77 68 65 6e 20 | 76 69 73 69 62 6c 65 2c |on when |visible,|
|00003a80| 20 61 6e 64 20 77 69 6c | 6c 20 6f 74 68 65 72 77 | and wil|l otherw|
|00003a90| 69 73 65 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |ise disp|lay the |
|00003aa0| 61 75 74 68 6f 72 73 68 | 69 70 20 6f 66 20 74 68 |authorsh|ip of th|
|00003ab0| 65 20 73 74 61 63 6b 2e | 0d 00 ff f5 57 72 69 74 |e stack.|....Writ|
|00003ac0| 74 65 6e 20 62 79 20 4a | 65 66 66 72 79 20 41 2e |ten by J|effry A.|
|00003ad0| 20 53 70 61 69 6e 2c 20 | 4d 2e 44 2e 2c 20 27 37 | Spain, |M.D., '7|
|00003ae0| 31 0d 0d 54 68 65 20 48 | 79 70 65 72 53 63 68 6f |1..The H|yperScho|
|00003af0| 6f 6c 0d 43 69 6e 63 69 | 6e 6e 61 74 69 20 43 6f |ol.Cinci|nnati Co|
|00003b00| 75 6e 74 72 79 20 44 61 | 79 20 53 63 68 6f 6f 6c |untry Da|y School|
|00003b10| 0d 41 74 74 6e 3a 20 4a | 6f 73 65 70 68 20 46 2e |.Attn: J|oseph F.|
|00003b20| 20 48 6f 66 6d 65 69 73 | 74 65 72 0d 43 6f 6d 70 | Hofmeis|ter.Comp|
|00003b30| 75 74 65 72 20 43 6f 6f | 72 64 69 6e 61 74 6f 72 |uter Coo|rdinator|
|00003b40| 0d 36 39 30 35 20 47 69 | 76 65 6e 20 52 6f 61 64 |.6905 Gi|ven Road|
|00003b50| 0d 43 69 6e 63 69 6e 6e | 61 74 69 2c 20 4f 68 69 |.Cincinn|ati, Ohi|
|00003b60| 6f 20 34 35 32 34 33 0d | 0d 54 65 6c 65 70 68 6f |o 45243.|.Telepho|
|00003b70| 6e 65 3a 20 35 31 33 2d | 35 36 31 2d 37 32 39 38 |ne: 513-|561-7298|
|00003b80| 0d 41 70 70 6c 65 4c 69 | 6e 6b 3a 20 4b 30 31 39 |.AppleLi|nk: K019|
|00003b90| 37 00 00 31 44 65 70 74 | 68 20 6f 66 20 52 65 63 |7..1Dept|h of Rec|
|00003ba0| 75 72 73 69 6f 6e 00 00 | 32 30 00 00 35 4e 75 6d |ursion..|20..5Num|
|00003bb0| 62 65 72 20 6f 66 20 4d | 6f 76 65 73 00 00 34 30 |ber of M|oves..40|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 21 80 42 4b 47 44 | 00 00 0a df 00 00 08 a8 |..!.BKGD|........|
|00003bf0| 00 00 00 00 00 00 00 01 | 00 00 0a df 00 00 0a df |........|........|
|00003c00| 00 0e 00 61 00 00 07 d4 | 00 00 00 00 00 00 00 e6 |...a....|........|
|00003c10| 00 07 01 00 00 3d 00 97 | 00 53 00 ef a0 04 00 00 |.....=..|.S......|
|00003c20| 00 00 00 01 00 00 00 0c | 00 00 00 10 53 65 74 20 |........|....Set |
|00003c30| 54 6f 77 65 72 00 00 6f | 6e 20 6d 6f 75 73 65 55 |Tower..o|n mouseU|
|00003c40| 70 0d 61 6e 73 77 65 72 | 20 22 44 69 73 6b 73 20 |p.answer| "Disks |
|00003c50| 6f 6e 20 77 68 69 63 68 | 20 70 6f 6c 65 3f 22 20 |on which| pole?" |
|00003c60| 77 69 74 68 20 22 4c 65 | 66 74 22 20 6f 72 20 22 |with "Le|ft" or "|
|00003c70| 43 65 6e 74 65 72 22 20 | 6f 72 20 22 52 69 67 68 |Center" |or "Righ|
|00003c80| 74 22 0d 69 66 20 69 74 | 20 3d 20 22 52 69 67 68 |t".if it| = "Righ|
|00003c90| 74 22 20 74 68 65 6e 0d | 73 65 74 54 6f 77 65 72 |t" then.|setTower|
|00003ca0| 20 33 0d 65 6c 73 65 0d | 69 66 20 69 74 20 3d 20 | 3.else.|if it = |
|00003cb0| 22 43 65 6e 74 65 72 22 | 20 74 68 65 6e 0d 73 65 |"Center"| then.se|
|00003cc0| 74 54 6f 77 65 72 20 32 | 0d 65 6c 73 65 0d 73 65 |tTower 2|.else.se|
|00003cd0| 74 54 6f 77 65 72 20 31 | 0d 65 6e 64 20 69 66 0d |tTower 1|.end if.|
|00003ce0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6f 75 73 65 |end if.e|nd mouse|
|00003cf0| 55 70 0d 00 00 ec 00 08 | 01 00 00 3d 00 f3 00 53 |Up......|...=...S|
|00003d00| 01 4b a0 04 00 00 00 00 | 00 01 00 00 00 0c 00 00 |.K......|........|
|00003d10| 00 10 4d 6f 76 65 20 54 | 6f 77 65 72 00 00 6f 6e |..Move T|ower..on|
|00003d20| 20 6d 6f 75 73 65 55 70 | 0d 61 6e 73 77 65 72 20 | mouseUp|.answer |
|00003d30| 22 4d 6f 76 65 20 74 6f | 20 77 68 69 63 68 20 70 |"Move to| which p|
|00003d40| 6f 6c 65 3f 22 20 77 69 | 74 68 20 22 4c 65 66 74 |ole?" wi|th "Left|
|00003d50| 22 20 6f 72 20 22 43 65 | 6e 74 65 72 22 20 6f 72 |" or "Ce|nter" or|
|00003d60| 20 22 52 69 67 68 74 22 | 0d 69 66 20 69 74 20 3d | "Right"|.if it =|
|00003d70| 20 22 52 69 67 68 74 22 | 20 74 68 65 6e 0d 73 68 | "Right"| then.sh|
|00003d80| 69 66 74 54 6f 77 65 72 | 20 33 0d 65 6c 73 65 0d |iftTower| 3.else.|
|00003d90| 69 66 20 69 74 20 3d 20 | 22 43 65 6e 74 65 72 22 |if it = |"Center"|
|00003da0| 20 74 68 65 6e 0d 73 68 | 69 66 74 54 6f 77 65 72 | then.sh|iftTower|
|00003db0| 20 32 0d 65 6c 73 65 0d | 73 68 69 66 74 54 6f 77 | 2.else.|shiftTow|
|00003dc0| 65 72 20 31 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |er 1.end| if.end |
|00003dd0| 69 66 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |if.end m|ouseUp..|
|00003de0| 02 e6 00 09 01 00 00 18 | 00 69 00 39 01 97 a0 04 |........|.i.9....|
|00003df0| 00 00 00 00 00 01 00 03 | 00 12 08 00 00 18 54 6f |........|......To|
|00003e00| 77 65 72 20 6f 66 20 48 | 61 6e 6f 69 00 00 6f 6e |wer of H|anoi..on|
|00003e10| 20 6d 6f 75 73 65 55 70 | 0d 69 66 20 74 68 65 20 | mouseUp|.if the |
|00003e20| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00003e30| 66 69 65 6c 64 20 48 65 | 6c 70 20 69 73 20 74 72 |field He|lp is tr|
|00003e40| 75 65 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |ue then.|set the |
|00003e50| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00003e60| 66 69 65 6c 64 20 22 48 | 65 6c 70 22 20 74 6f 20 |field "H|elp" to |
|00003e70| 66 61 6c 73 65 0d 65 6c | 73 65 0d 73 65 74 20 74 |false.el|se.set t|
|00003e80| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 63 61 |he visib|le of ca|
|00003e90| 72 64 20 66 69 65 6c 64 | 20 41 75 74 68 6f 72 20 |rd field| Author |
|00003ea0| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00003eb0| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00003ec0| 62 75 74 74 6f 6e 20 4f | 4b 20 74 6f 20 74 72 75 |button O|K to tru|
|00003ed0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 6f 75 |e.end if|.end mou|
|00003ee0| 73 65 55 70 0d 0d 2d 2d | 20 41 6e 73 77 65 72 73 |seUp..--| Answers|
|00003ef0| 20 74 6f 20 74 68 65 20 | 71 75 65 73 74 69 6f 6e | to the |question|
|00003f00| 73 20 70 6f 73 65 64 20 | 69 6e 20 74 68 65 20 22 |s posed |in the "|
|00003f10| 48 65 6c 70 22 20 66 69 | 65 6c 64 3a 0d 2d 2d 20 |Help" fi|eld:.-- |
|00003f20| 49 66 20 6e 20 69 73 20 | 74 68 65 20 6e 75 6d 62 |If n is |the numb|
|00003f30| 65 72 20 6f 66 20 64 69 | 73 6b 73 20 69 6e 20 74 |er of di|sks in t|
|00003f40| 68 65 20 73 74 61 63 6b | 2c 20 74 68 65 20 6d 61 |he stack|, the ma|
|00003f50| 78 69 6d 75 6d 20 64 65 | 70 74 68 20 6f 66 0d 2d |ximum de|pth of.-|
|00003f60| 2d 20 72 65 63 75 72 73 | 69 6f 6e 20 69 73 20 6e |- recurs|ion is n|
|00003f70| 2c 20 61 6e 64 20 74 68 | 65 20 74 6f 74 61 6c 20 |, and th|e total |
|00003f80| 6e 75 6d 62 65 72 20 6f | 66 20 6d 6f 76 65 73 20 |number o|f moves |
|00003f90| 69 73 20 32 5e 6e 20 2d | 20 31 2e 0d 2d 2d 20 42 |is 2^n -| 1..-- B|
|00003fa0| 79 20 74 68 65 20 77 61 | 79 2c 20 74 68 69 73 20 |y the wa|y, this |
|00003fb0| 6d 65 61 6e 73 20 74 68 | 61 74 20 74 68 65 20 54 |means th|at the T|
|00003fc0| 69 62 65 74 61 6e 20 6d | 6f 6e 6b 73 20 68 61 76 |ibetan m|onks hav|
|00003fd0| 65 20 74 68 65 69 72 20 | 77 6f 72 6b 20 63 75 74 |e their |work cut|
|00003fe0| 0d 2d 2d 20 6f 75 74 20 | 66 6f 72 20 74 68 65 6d |.-- out |for them|
|00003ff0| 20 77 69 74 68 20 61 20 | 73 74 61 63 6b 20 6f 66 | with a |stack of|
|00004000| 20 31 30 30 20 64 69 73 | 6b 73 2e 20 20 45 76 65 | 100 dis|ks. Eve|
|00004010| 6e 20 69 66 20 74 68 65 | 79 20 77 65 72 65 20 75 |n if the|y were u|
|00004020| 73 69 6e 67 0d 2d 2d 20 | 61 20 43 72 61 79 20 73 |sing.-- |a Cray s|
|00004030| 75 70 65 72 63 6f 6d 70 | 75 74 65 72 2c 20 61 6e |upercomp|uter, an|
|00004040| 64 20 63 6f 75 6c 64 20 | 6d 61 6b 65 20 6f 6e 65 |d could |make one|
|00004050| 20 6d 6f 76 65 20 70 65 | 72 20 6e 61 6e 6f 73 65 | move pe|r nanose|
|00004060| 63 6f 6e 64 2c 0d 2d 2d | 20 63 6f 6d 70 6c 65 74 |cond,.--| complet|
|00004070| 69 6f 6e 20 6f 66 20 74 | 68 65 20 74 61 73 6b 20 |ion of t|he task |
|00004080| 77 6f 75 6c 64 20 73 74 | 69 6c 6c 20 74 61 6b 65 |would st|ill take|
|00004090| 20 61 62 6f 75 74 20 33 | 30 30 30 20 74 69 6d 65 | about 3|000 time|
|000040a0| 73 20 74 68 65 0d 2d 2d | 20 70 72 65 73 65 6e 74 |s the.--| present|
|000040b0| 20 61 67 65 20 6f 66 20 | 74 68 65 20 75 6e 69 76 | age of |the univ|
|000040c0| 65 72 73 65 2e 00 00 82 | 00 12 01 00 01 3b 00 7e |erse....|.....;.~|
|000040d0| 01 53 00 a1 00 01 00 00 | 61 aa 00 01 00 00 00 0c |.S......|a.......|
|000040e0| 00 00 00 10 48 65 6c 70 | 00 00 6f 6e 20 6d 6f 75 |....Help|..on mou|
|000040f0| 73 65 55 70 0d 73 65 74 | 20 74 68 65 20 76 69 73 |seUp.set| the vis|
|00004100| 69 62 6c 65 20 6f 66 20 | 63 61 72 64 20 66 69 65 |ible of |card fie|
|00004110| 6c 64 20 48 65 6c 70 20 | 74 6f 20 6e 6f 74 20 76 |ld Help |to not v|
|00004120| 69 73 69 62 6c 65 20 6f | 66 20 63 61 72 64 20 66 |isible o|f card f|
|00004130| 69 65 6c 64 20 48 65 6c | 70 0d 65 6e 64 20 6d 6f |ield Hel|p.end mo|
|00004140| 75 73 65 55 70 0d 00 00 | 00 2c 00 31 02 01 01 28 |useUp...|.,.1...(|
|00004150| 00 72 01 37 00 e5 00 01 | 00 00 00 00 ff ff 00 02 |.r.7....|........|
|00004160| 00 0a 00 00 00 0d 64 65 | 70 74 68 4c 61 62 65 6c |......de|pthLabel|
|00004170| 00 00 00 00 00 26 00 32 | 02 01 01 28 00 e5 01 37 |.....&.2|...(...7|
|00004180| 00 fe 00 02 00 00 00 00 | 00 01 00 02 00 0a 00 00 |........|........|
|00004190| 00 0d 64 65 70 74 68 00 | 00 00 00 26 00 34 02 01 |..depth.|...&.4..|
|000041a0| 01 28 01 02 01 37 01 1b | 00 02 00 00 00 00 00 01 |.(...7..|........|
|000041b0| 00 02 00 0a 00 00 00 0d | 6d 6f 76 65 73 00 00 00 |........|moves...|
|000041c0| 00 2a 00 35 02 01 01 28 | 01 1b 01 37 01 8e 00 01 |.*.5...(|...7....|
|000041d0| 00 00 00 00 00 00 00 02 | 00 0a 00 00 00 0d 6d 6f |........|......mo|
|000041e0| 76 65 4c 61 62 65 6c 00 | 00 00 00 f8 00 3c 01 00 |veLabel.|.....<..|
|000041f0| 00 3d 00 3b 00 53 00 93 | a0 04 00 00 00 00 00 01 |.=.;.S..|........|
|00004200| 00 00 00 0c 00 00 00 10 | 4d 61 6b 65 20 54 6f 77 |........|Make Tow|
|00004210| 65 72 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |er..on m|ouseUp.g|
|00004220| 6c 6f 62 61 6c 20 6d 61 | 78 44 69 73 6b 73 0d 67 |lobal ma|xDisks.g|
|00004230| 65 74 20 2d 31 0d 72 65 | 70 65 61 74 20 77 68 69 |et -1.re|peat whi|
|00004240| 6c 65 20 69 74 20 3c 20 | 30 20 6f 72 20 69 74 20 |le it < |0 or it |
|00004250| 3e 20 6d 61 78 44 69 73 | 6b 73 0d 61 73 6b 20 22 |> maxDis|ks.ask "|
|00004260| 48 6f 77 20 6d 61 6e 79 | 20 64 69 73 6b 73 20 28 |How many| disks (|
|00004270| 30 20 2d 22 20 26 26 20 | 6d 61 78 44 69 73 6b 73 |0 -" && |maxDisks|
|00004280| 20 26 20 22 29 3f 22 0d | 69 66 20 69 74 20 69 73 | & ")?".|if it is|
|00004290| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|000042a0| 20 6d 6f 75 73 65 55 70 | 0d 67 65 74 20 72 6f 75 | mouseUp|.get rou|
|000042b0| 6e 64 28 20 69 74 20 29 | 0d 65 6e 64 20 72 65 70 |nd( it )|.end rep|
|000042c0| 65 61 74 0d 6d 61 6b 65 | 54 6f 77 65 72 20 69 74 |eat.make|Tower it|
|000042d0| 2c 20 31 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |, 1.end |mouseUp.|
|000042e0| 00 00 00 60 00 3d 01 00 | 00 3d 01 4f 00 53 01 c5 |...`.=..|.=.O.S..|
|000042f0| a0 04 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00004300| 53 65 65 20 41 6c 67 6f | 72 69 74 68 6d 00 00 6f |See Algo|rithm..o|
|00004310| 6e 20 6d 6f 75 73 65 55 | 70 0d 65 64 69 74 20 73 |n mouseU|p.edit s|
|00004320| 63 72 69 70 74 20 6f 66 | 20 74 68 69 73 20 73 74 |cript of| this st|
|00004330| 61 63 6b 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |ack.end |mouseUp.|
|00004340| 00 00 00 28 00 55 01 00 | 00 c8 00 e2 00 dc 01 1e |...(.U..|........|
|00004350| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00004360| 44 69 73 6b 20 31 00 00 | 00 00 00 28 00 5f 01 00 |Disk 1..|...(._..|
|00004370| 00 dc 00 dd 00 f0 01 23 | 80 03 00 00 00 00 00 01 |.......#|........|
|00004380| 00 00 00 0c 00 00 00 10 | 44 69 73 6b 20 32 00 00 |........|Disk 2..|
|00004390| 00 00 00 28 00 60 01 00 | 00 f0 00 d8 01 04 01 28 |...(.`..|.......(|
|000043a0| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|000043b0| 44 69 73 6b 20 33 00 00 | 00 00 00 28 00 61 01 00 |Disk 3..|...(.a..|
|000043c0| 00 f0 00 3d 01 04 00 97 | 80 03 00 00 00 00 00 01 |...=....|........|
|000043d0| 00 00 00 0c 00 00 00 10 | 44 69 73 6b 20 34 00 00 |........|Disk 4..|
|000043e0| 00 00 00 2d 2d 20 43 6f | 70 79 72 69 67 68 74 20 |...-- Co|pyright |
|000043f0| a9 20 31 39 38 38 20 43 | 69 6e 63 69 6e 6e 61 74 |. 1988 C|incinnat|
|00004400| 69 20 43 6f 75 6e 74 72 | 79 20 44 61 79 20 53 63 |i Countr|y Day Sc|
|00004410| 68 6f 6f 6c 2e 20 20 41 | 6c 6c 20 72 69 67 68 74 |hool. A|ll right|
|00004420| 73 20 72 65 73 65 72 76 | 65 64 2e 0d 0d 2d 2d 20 |s reserv|ed...-- |
|00004430| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |For info|rmation,|
|00004440| 20 63 6f 6e 74 61 63 74 | 20 4a 6f 73 65 70 68 20 | contact| Joseph |
|00004450| 46 2e 20 48 6f 66 6d 65 | 69 73 74 65 72 2c 20 43 |F. Hofme|ister, C|
|00004460| 6f 6d 70 75 74 65 72 20 | 43 6f 6f 72 64 69 6e 61 |omputer |Coordina|
|00004470| 74 6f 72 0d 2d 2d 20 54 | 68 65 20 48 79 70 65 72 |tor.-- T|he Hyper|
|00004480| 53 63 68 6f 6f 6c 2c 20 | 43 69 6e 63 69 6e 6e 61 |School, |Cincinna|
|00004490| 74 69 20 43 6f 75 6e 74 | 72 79 20 44 61 79 20 53 |ti Count|ry Day S|
|000044a0| 63 68 6f 6f 6c 0d 2d 2d | 20 36 39 30 35 20 47 69 |chool.--| 6905 Gi|
|000044b0| 76 65 6e 20 52 6f 61 64 | 2c 20 43 69 6e 63 69 6e |ven Road|, Cincin|
|000044c0| 6e 61 74 69 2c 20 4f 68 | 69 6f 20 34 35 32 34 33 |nati, Oh|io 45243|
|000044d0| 0d 2d 2d 20 54 65 6c 65 | 70 68 6f 6e 65 20 35 31 |.-- Tele|phone 51|
|000044e0| 33 2d 35 36 31 2d 37 32 | 39 38 20 20 41 70 70 6c |3-561-72|98 Appl|
|000044f0| 65 4c 69 6e 6b 20 4b 30 | 31 39 37 0d 0d 6f 6e 20 |eLink K0|197..on |
|00004500| 6f 70 65 6e 53 74 61 63 | 6b 0d 69 66 20 74 68 65 |openStac|k.if the|
|00004510| 20 76 65 72 73 69 6f 6e | 20 3c 20 31 2e 32 20 74 | version| < 1.2 t|
|00004520| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |hen.answ|er "This|
|00004530| 20 73 74 61 63 6b 20 6e | 65 65 64 73 20 48 79 70 | stack n|eeds Hyp|
|00004540| 65 72 43 61 72 64 20 76 | 65 72 73 69 6f 6e 20 31 |erCard v|ersion 1|
|00004550| 2e 32 2e 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |.2.".set| lockMes|
|00004560| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 64 6f |sages to| true.do|
|00004570| 6d 65 6e 75 20 68 6f 6d | 65 0d 65 6c 73 65 0d 68 |menu hom|e.else.h|
|00004580| 69 64 65 20 6d 65 73 73 | 61 67 65 0d 72 65 73 65 |ide mess|age.rese|
|00004590| 74 20 70 61 69 6e 74 0d | 69 6e 69 74 54 6f 77 65 |t paint.|initTowe|
|000045a0| 72 0d 73 65 74 54 6f 77 | 65 72 20 32 0d 65 6e 64 |r.setTow|er 2.end|
|000045b0| 20 69 66 0d 65 6e 64 20 | 6f 70 65 6e 53 74 61 63 | if.end |openStac|
|000045c0| 6b 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |k..on cl|oseStack|
|000045d0| 0d 72 65 73 65 74 20 70 | 61 69 6e 74 0d 65 6e 64 |.reset p|aint.end|
|000045e0| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 0d 6f 6e 20 | closeSt|ack..on |
|000045f0| 69 6e 69 74 54 6f 77 65 | 72 0d 67 6c 6f 62 61 6c |initTowe|r.global|
|00004600| 20 6d 61 78 44 69 73 6b | 73 2c 20 6e 44 69 73 6b | maxDisk|s, nDisk|
|00004610| 73 2c 20 79 42 61 73 65 | 2c 20 64 48 65 69 67 68 |s, yBase|, dHeigh|
|00004620| 74 2c 20 78 50 6f 6c 65 | 2c 20 70 6f 6c 65 54 6f |t, xPole|, poleTo|
|00004630| 70 0d 70 75 74 20 37 20 | 69 6e 74 6f 20 6d 61 78 |p.put 7 |into max|
|00004640| 44 69 73 6b 73 0d 70 75 | 74 20 74 68 65 20 6e 75 |Disks.pu|t the nu|
|00004650| 6d 62 65 72 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 |mber of |bkgnd bu|
|00004660| 74 74 6f 6e 73 20 2d 20 | 37 20 69 6e 74 6f 20 6e |ttons - |7 into n|
|00004670| 44 69 73 6b 73 0d 70 75 | 74 20 32 35 30 20 69 6e |Disks.pu|t 250 in|
|00004680| 74 6f 20 79 42 61 73 65 | 0d 70 75 74 20 32 30 20 |to yBase|.put 20 |
|00004690| 69 6e 74 6f 20 64 48 65 | 69 67 68 74 0d 70 75 74 |into dHe|ight.put|
|000046a0| 20 22 30 2c 30 2c 30 22 | 20 69 6e 74 6f 20 78 50 | "0,0,0"| into xP|
|000046b0| 6f 6c 65 0d 67 65 74 20 | 72 6f 75 6e 64 28 20 77 |ole.get |round( w|
|000046c0| 69 64 74 68 20 6f 66 20 | 63 61 72 64 20 77 69 6e |idth of |card win|
|000046d0| 64 6f 77 20 2f 20 32 20 | 29 0d 70 75 74 20 69 74 |dow / 2 |).put it|
|000046e0| 20 2d 20 31 35 30 20 69 | 6e 74 6f 20 69 74 65 6d | - 150 i|nto item|
|000046f0| 20 31 20 6f 66 20 78 50 | 6f 6c 65 0d 70 75 74 20 | 1 of xP|ole.put |
|00004700| 69 74 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f |it into |item 2 o|
|00004710| 66 20 78 50 6f 6c 65 0d | 70 75 74 20 69 74 20 2b |f xPole.|put it +|
|00004720| 20 31 35 30 20 69 6e 74 | 6f 20 69 74 65 6d 20 33 | 150 int|o item 3|
|00004730| 20 6f 66 20 78 50 6f 6c | 65 0d 70 75 74 20 79 42 | of xPol|e.put yB|
|00004740| 61 73 65 20 2d 20 72 6f | 75 6e 64 28 20 37 2e 35 |ase - ro|und( 7.5|
|00004750| 20 2a 20 64 48 65 69 67 | 68 74 20 29 20 2d 20 34 | * dHeig|ht ) - 4|
|00004760| 20 69 6e 74 6f 20 70 6f | 6c 65 54 6f 70 0d 65 6e | into po|leTop.en|
|00004770| 64 20 69 6e 69 74 54 6f | 77 65 72 0d 0d 6f 6e 20 |d initTo|wer..on |
|00004780| 6d 61 6b 65 42 61 73 65 | 0d 67 6c 6f 62 61 6c 20 |makeBase|.global |
|00004790| 79 42 61 73 65 2c 20 64 | 48 65 69 67 68 74 2c 20 |yBase, d|Height, |
|000047a0| 78 50 6f 6c 65 2c 20 70 | 6f 6c 65 54 6f 70 0d 73 |xPole, p|oleTop.s|
|000047b0| 65 74 20 74 68 65 20 65 | 64 69 74 42 6b 67 6e 64 |et the e|ditBkgnd|
|000047c0| 20 74 6f 20 74 72 75 65 | 0d 63 68 6f 6f 73 65 20 | to true|.choose |
|000047d0| 73 65 6c 65 63 74 20 74 | 6f 6f 6c 0d 64 72 61 67 |select t|ool.drag|
|000047e0| 20 66 72 6f 6d 20 30 2c | 30 20 74 6f 20 77 69 64 | from 0,|0 to wid|
|000047f0| 74 68 20 6f 66 20 63 61 | 72 64 20 77 69 6e 64 6f |th of ca|rd windo|
|00004800| 77 2c 20 68 65 69 67 68 | 74 20 6f 66 20 63 61 72 |w, heigh|t of car|
|00004810| 64 20 77 69 6e 64 6f 77 | 0d 64 6f 4d 65 6e 75 20 |d window|.doMenu |
|00004820| 22 43 6c 65 61 72 20 50 | 69 63 74 75 72 65 22 0d |"Clear P|icture".|
|00004830| 63 68 6f 6f 73 65 20 72 | 6f 75 6e 64 20 72 65 63 |choose r|ound rec|
|00004840| 74 20 74 6f 6f 6c 0d 73 | 65 74 20 74 68 65 20 66 |t tool.s|et the f|
|00004850| 69 6c 6c 65 64 20 74 6f | 20 74 72 75 65 0d 73 65 |illed to| true.se|
|00004860| 74 20 74 68 65 20 70 61 | 74 74 65 72 6e 20 74 6f |t the pa|ttern to|
|00004870| 20 32 32 0d 70 75 74 20 | 70 6f 6c 65 54 6f 70 20 | 22.put |poleTop |
|00004880| 2b 20 34 20 2b 20 72 6f | 75 6e 64 28 20 64 48 65 |+ 4 + ro|und( dHe|
|00004890| 69 67 68 74 20 2f 20 32 | 20 29 20 69 6e 74 6f 20 |ight / 2| ) into |
|000048a0| 74 0d 70 75 74 20 79 42 | 61 73 65 20 2b 20 64 48 |t.put yB|ase + dH|
|000048b0| 65 69 67 68 74 20 69 6e | 74 6f 20 62 0d 72 65 70 |eight in|to b.rep|
|000048c0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|000048d0| 6f 20 33 0d 67 65 74 20 | 69 74 65 6d 20 69 20 6f |o 3.get |item i o|
|000048e0| 66 20 78 50 6f 6c 65 0d | 64 72 61 67 20 66 72 6f |f xPole.|drag fro|
|000048f0| 6d 20 69 74 20 2d 20 35 | 2c 20 74 20 74 6f 20 69 |m it - 5|, t to i|
|00004900| 74 20 2b 20 35 2c 20 62 | 0d 65 6e 64 20 72 65 70 |t + 5, b|.end rep|
|00004910| 65 61 74 0d 73 65 74 20 | 74 68 65 20 70 61 74 74 |eat.set |the patt|
|00004920| 65 72 6e 20 74 6f 20 32 | 30 0d 67 65 74 20 79 42 |ern to 2|0.get yB|
|00004930| 61 73 65 20 2b 20 72 6f | 75 6e 64 28 20 64 48 65 |ase + ro|und( dHe|
|00004940| 69 67 68 74 20 2f 20 32 | 20 29 0d 64 72 61 67 20 |ight / 2| ).drag |
|00004950| 66 72 6f 6d 20 69 74 65 | 6d 20 31 20 6f 66 20 78 |from ite|m 1 of x|
|00004960| 50 6f 6c 65 20 2d 20 39 | 30 2c 20 69 74 20 74 6f |Pole - 9|0, it to|
|00004970| c2 0d 69 74 65 6d 20 33 | 20 6f 66 20 78 50 6f 6c |..item 3| of xPol|
|00004980| 65 20 2b 20 39 30 2c 20 | 69 74 20 2b 20 72 6f 75 |e + 90, |it + rou|
|00004990| 6e 64 28 20 31 2e 35 20 | 2a 20 64 48 65 69 67 68 |nd( 1.5 |* dHeigh|
|000049a0| 74 20 29 0d 72 65 73 65 | 74 20 70 61 69 6e 74 0d |t ).rese|t paint.|
|000049b0| 63 68 6f 6f 73 65 20 62 | 72 6f 77 73 65 20 74 6f |choose b|rowse to|
|000049c0| 6f 6c 0d 65 6e 64 20 6d | 61 6b 65 42 61 73 65 0d |ol.end m|akeBase.|
|000049d0| 0d 6f 6e 20 64 65 6c 65 | 74 65 54 6f 77 65 72 0d |.on dele|teTower.|
|000049e0| 67 6c 6f 62 61 6c 20 6e | 44 69 73 6b 73 0d 63 68 |global n|Disks.ch|
|000049f0| 6f 6f 73 65 20 62 75 74 | 74 6f 6e 20 74 6f 6f 6c |oose but|ton tool|
|00004a00| 0d 73 65 74 20 74 68 65 | 20 65 64 69 74 42 6b 67 |.set the| editBkg|
|00004a10| 6e 64 20 74 6f 20 74 72 | 75 65 0d 72 65 70 65 61 |nd to tr|ue.repea|
|00004a20| 74 20 77 69 74 68 20 69 | 20 3d 20 74 68 65 20 6e |t with i| = the n|
|00004a30| 75 6d 62 65 72 20 6f 66 | 20 62 6b 67 6e 64 20 62 |umber of| bkgnd b|
|00004a40| 75 74 74 6f 6e 73 20 64 | 6f 77 6e 20 74 6f 20 38 |uttons d|own to 8|
|00004a50| 0d 69 66 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |.if the |name of |
|00004a60| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 69 20 63 |bkgnd bu|tton i c|
|00004a70| 6f 6e 74 61 69 6e 73 20 | 22 44 69 73 6b 22 20 74 |ontains |"Disk" t|
|00004a80| 68 65 6e 0d 63 6c 69 63 | 6b 20 61 74 20 74 68 65 |hen.clic|k at the|
|00004a90| 20 6c 6f 63 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 | loc of |bkgnd bu|
|00004aa0| 74 74 6f 6e 20 69 0d 64 | 6f 4d 65 6e 75 20 22 43 |tton i.d|oMenu "C|
|00004ab0| 6c 65 61 72 20 42 75 74 | 74 6f 6e 22 0d 65 6e 64 |lear But|ton".end|
|00004ac0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 | if.end |repeat.c|
|00004ad0| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00004ae0| 6c 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 6e 44 69 |l.put 0 |into nDi|
|00004af0| 73 6b 73 0d 65 6e 64 20 | 64 65 6c 65 74 65 54 6f |sks.end |deleteTo|
|00004b00| 77 65 72 0d 0d 6f 6e 20 | 6d 61 6b 65 54 6f 77 65 |wer..on |makeTowe|
|00004b10| 72 20 68 65 69 67 68 74 | 2c 20 64 65 73 74 0d 67 |r height|, dest.g|
|00004b20| 6c 6f 62 61 6c 20 6e 44 | 69 73 6b 73 2c 20 79 42 |lobal nD|isks, yB|
|00004b30| 61 73 65 2c 20 64 48 65 | 69 67 68 74 2c 20 78 50 |ase, dHe|ight, xP|
|00004b40| 6f 6c 65 0d 67 6c 6f 62 | 61 6c 20 66 69 72 73 74 |ole.glob|al first|
|00004b50| 50 6f 6c 65 2c 20 73 74 | 61 63 6b 48 65 69 67 68 |Pole, st|ackHeigh|
|00004b60| 74 0d 64 65 6c 65 74 65 | 54 6f 77 65 72 0d 73 65 |t.delete|Tower.se|
|00004b70| 74 20 74 68 65 20 65 64 | 69 74 42 6b 67 6e 64 20 |t the ed|itBkgnd |
|00004b80| 74 6f 20 74 72 75 65 0d | 70 75 74 20 68 65 69 67 |to true.|put heig|
|00004b90| 68 74 20 69 6e 74 6f 20 | 6e 44 69 73 6b 73 0d 70 |ht into |nDisks.p|
|00004ba0| 75 74 20 64 65 73 74 20 | 69 6e 74 6f 20 66 69 72 |ut dest |into fir|
|00004bb0| 73 74 50 6f 6c 65 0d 70 | 75 74 20 22 30 2c 30 2c |stPole.p|ut "0,0,|
|00004bc0| 30 22 20 69 6e 74 6f 20 | 73 74 61 63 6b 48 65 69 |0" into |stackHei|
|00004bd0| 67 68 74 0d 70 75 74 20 | 6e 44 69 73 6b 73 20 69 |ght.put |nDisks i|
|00004be0| 6e 74 6f 20 69 74 65 6d | 20 66 69 72 73 74 50 6f |nto item| firstPo|
|00004bf0| 6c 65 20 6f 66 20 73 74 | 61 63 6b 48 65 69 67 68 |le of st|ackHeigh|
|00004c00| 74 0d 70 75 74 20 69 74 | 65 6d 20 66 69 72 73 74 |t.put it|em first|
|00004c10| 50 6f 6c 65 20 6f 66 20 | 78 50 6f 6c 65 20 69 6e |Pole of |xPole in|
|00004c20| 74 6f 20 74 68 69 73 50 | 6f 6c 65 0d 70 75 74 20 |to thisP|ole.put |
|00004c30| 79 42 61 73 65 20 2d 20 | 64 48 65 69 67 68 74 20 |yBase - |dHeight |
|00004c40| 2a 20 28 20 6e 44 69 73 | 6b 73 20 2d 20 31 20 29 |* ( nDis|ks - 1 )|
|00004c50| 20 69 6e 74 6f 20 79 44 | 69 73 6b 0d 70 75 74 20 | into yD|isk.put |
|00004c60| 36 30 20 69 6e 74 6f 20 | 64 57 69 64 74 68 0d 72 |60 into |dWidth.r|
|00004c70| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00004c80| 20 74 6f 20 6e 44 69 73 | 6b 73 0d 64 6f 4d 65 6e | to nDis|ks.doMen|
|00004c90| 75 20 22 4e 65 77 20 42 | 75 74 74 6f 6e 22 0d 67 |u "New B|utton".g|
|00004ca0| 65 74 20 22 44 69 73 6b | 22 20 26 26 20 69 0d 73 |et "Disk|" && i.s|
|00004cb0| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 62 |et the n|ame of b|
|00004cc0| 6b 67 6e 64 20 62 75 74 | 74 6f 6e 20 22 4e 65 77 |kgnd but|ton "New|
|00004cd0| 20 42 75 74 74 6f 6e 22 | 20 74 6f 20 69 74 0d 73 | Button"| to it.s|
|00004ce0| 65 74 20 74 68 65 20 77 | 69 64 74 68 20 6f 66 20 |et the w|idth of |
|00004cf0| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 69 74 20 |bkgnd bu|tton it |
|00004d00| 74 6f 20 64 57 69 64 74 | 68 0d 73 65 74 20 74 68 |to dWidt|h.set th|
|00004d10| 65 20 68 65 69 67 68 74 | 20 6f 66 20 62 6b 67 6e |e height| of bkgn|
|00004d20| 64 20 62 75 74 74 6f 6e | 20 69 74 20 74 6f 20 64 |d button| it to d|
|00004d30| 48 65 69 67 68 74 0d 73 | 65 74 20 74 68 65 20 6c |Height.s|et the l|
|00004d40| 6f 63 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |oc of bk|gnd butt|
|00004d50| 6f 6e 20 69 74 20 74 6f | 20 74 68 69 73 50 6f 6c |on it to| thisPol|
|00004d60| 65 2c 20 79 44 69 73 6b | 0d 61 64 64 20 31 30 20 |e, yDisk|.add 10 |
|00004d70| 74 6f 20 64 57 69 64 74 | 68 0d 61 64 64 20 64 48 |to dWidt|h.add dH|
|00004d80| 65 69 67 68 74 20 74 6f | 20 79 44 69 73 6b 0d 65 |eight to| yDisk.e|
|00004d90| 6e 64 20 72 65 70 65 61 | 74 0d 63 68 6f 6f 73 65 |nd repea|t.choose|
|00004da0| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 70 75 74 | browse |tool.put|
|00004db0| 20 30 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 64 65 | 0 into |field de|
|00004dc0| 70 74 68 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 66 |pth.put |0 into f|
|00004dd0| 69 65 6c 64 20 6d 6f 76 | 65 73 0d 65 6e 64 20 6d |ield mov|es.end m|
|00004de0| 61 6b 65 54 6f 77 65 72 | 0d 0d 6f 6e 20 73 65 74 |akeTower|..on set|
|00004df0| 54 6f 77 65 72 20 64 65 | 73 74 0d 67 6c 6f 62 61 |Tower de|st.globa|
|00004e00| 6c 20 6e 44 69 73 6b 73 | 2c 20 79 42 61 73 65 2c |l nDisks|, yBase,|
|00004e10| 20 64 48 65 69 67 68 74 | 2c 20 78 50 6f 6c 65 0d | dHeight|, xPole.|
|00004e20| 67 6c 6f 62 61 6c 20 66 | 69 72 73 74 50 6f 6c 65 |global f|irstPole|
|00004e30| 2c 20 73 74 61 63 6b 48 | 65 69 67 68 74 0d 70 75 |, stackH|eight.pu|
|00004e40| 74 20 64 65 73 74 20 69 | 6e 74 6f 20 66 69 72 73 |t dest i|nto firs|
|00004e50| 74 50 6f 6c 65 0d 70 75 | 74 20 22 30 2c 30 2c 30 |tPole.pu|t "0,0,0|
|00004e60| 22 20 69 6e 74 6f 20 73 | 74 61 63 6b 48 65 69 67 |" into s|tackHeig|
|00004e70| 68 74 0d 70 75 74 20 6e | 44 69 73 6b 73 20 69 6e |ht.put n|Disks in|
|00004e80| 74 6f 20 69 74 65 6d 20 | 66 69 72 73 74 50 6f 6c |to item |firstPol|
|00004e90| 65 20 6f 66 20 73 74 61 | 63 6b 48 65 69 67 68 74 |e of sta|ckHeight|
|00004ea0| 0d 70 75 74 20 69 74 65 | 6d 20 66 69 72 73 74 50 |.put ite|m firstP|
|00004eb0| 6f 6c 65 20 6f 66 20 78 | 50 6f 6c 65 20 69 6e 74 |ole of x|Pole int|
|00004ec0| 6f 20 74 68 69 73 50 6f | 6c 65 0d 70 75 74 20 79 |o thisPo|le.put y|
|00004ed0| 42 61 73 65 20 2d 20 64 | 48 65 69 67 68 74 20 2a |Base - d|Height *|
|00004ee0| 20 28 20 6e 44 69 73 6b | 73 20 2d 20 31 20 29 20 | ( nDisk|s - 1 ) |
|00004ef0| 69 6e 74 6f 20 79 44 69 | 73 6b 0d 72 65 70 65 61 |into yDi|sk.repea|
|00004f00| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004f10| 6e 44 69 73 6b 73 0d 67 | 65 74 20 22 44 69 73 6b |nDisks.g|et "Disk|
|00004f20| 22 20 26 26 20 69 0d 73 | 65 74 20 74 68 65 20 6c |" && i.s|et the l|
|00004f30| 6f 63 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |oc of bk|gnd butt|
|00004f40| 6f 6e 20 69 74 20 74 6f | 20 74 68 69 73 50 6f 6c |on it to| thisPol|
|00004f50| 65 2c 20 79 44 69 73 6b | 0d 61 64 64 20 64 48 65 |e, yDisk|.add dHe|
|00004f60| 69 67 68 74 20 74 6f 20 | 79 44 69 73 6b 0d 65 6e |ight to |yDisk.en|
|00004f70| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 30 20 69 |d repeat|.put 0 i|
|00004f80| 6e 74 6f 20 66 69 65 6c | 64 20 64 65 70 74 68 0d |nto fiel|d depth.|
|00004f90| 70 75 74 20 30 20 69 6e | 74 6f 20 66 69 65 6c 64 |put 0 in|to field|
|00004fa0| 20 6d 6f 76 65 73 0d 65 | 6e 64 20 73 65 74 54 6f | moves.e|nd setTo|
|00004fb0| 77 65 72 0d 0d 6f 6e 20 | 73 68 69 66 74 54 6f 77 |wer..on |shiftTow|
|00004fc0| 65 72 20 64 65 73 74 0d | 67 6c 6f 62 61 6c 20 6e |er dest.|global n|
|00004fd0| 44 69 73 6b 73 2c 20 66 | 69 72 73 74 50 6f 6c 65 |Disks, f|irstPole|
|00004fe0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 66 69 65 6c |.put 0 i|nto fiel|
|00004ff0| 64 20 64 65 70 74 68 0d | 70 75 74 20 30 20 69 6e |d depth.|put 0 in|
|00005000| 74 6f 20 66 69 65 6c 64 | 20 6d 6f 76 65 73 0d 63 |to field| moves.c|
|00005010| 68 6f 6f 73 65 20 62 75 | 74 74 6f 6e 20 74 6f 6f |hoose bu|tton too|
|00005020| 6c 0d 6d 6f 76 65 54 6f | 77 65 72 20 6e 44 69 73 |l.moveTo|wer nDis|
|00005030| 6b 73 2c 20 66 69 72 73 | 74 50 6f 6c 65 2c 20 64 |ks, firs|tPole, d|
|00005040| 65 73 74 2c 20 36 20 2d | 20 66 69 72 73 74 50 6f |est, 6 -| firstPo|
|00005050| 6c 65 20 2d 20 64 65 73 | 74 0d 70 75 74 20 64 65 |le - des|t.put de|
|00005060| 73 74 20 69 6e 74 6f 20 | 66 69 72 73 74 50 6f 6c |st into |firstPol|
|00005070| 65 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |e.choose| browse |
|00005080| 74 6f 6f 6c 0d 65 6e 64 | 20 73 68 69 66 74 54 6f |tool.end| shiftTo|
|00005090| 77 65 72 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |wer.....|........|
|000050a0| 00 00 00 00 00 00 0d c0 | 00 4f b1 98 00 00 00 60 |........|.O.....`|
|000050b0| 43 41 64 ee 00 00 00 00 | 00 00 00 00 00 00 00 00 |CAd.....|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|000050d0| 00 00 00 00 00 03 00 00 | 00 28 00 01 37 30 39 00 |........|.(..709.|
|000050e0| 00 02 41 74 6c 61 6e 74 | 69 63 00 00 03 4e 65 77 |..Atlant|ic...New|
|000050f0| 66 6f 75 6e 64 6c 61 6e | 64 2c 20 43 61 6e 61 64 |foundlan|d, Canad|
|00005100| 61 00 00 00 00 00 00 00 | 00 00 00 68 00 4f b1 98 |a.......|...h.O..|
|00005110| 00 00 00 60 43 41 52 44 | 00 00 65 ca 00 00 00 00 |...`CARD|..e.....|
|00005120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005130| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 04 00 00 |...B....|........|
|00005140| 00 28 00 01 37 31 32 00 | 00 02 43 65 6e 74 72 61 |.(..712.|..Centra|
|00005150| 6c 00 00 03 49 6f 77 61 | 00 00 04 43 6f 75 6e 63 |l...Iowa|...Counc|
|00005160| 69 6c 20 42 6c 75 66 66 | 73 00 00 00 00 00 00 00 |il Bluff|s.......|
|00005170| 00 00 00 68 00 4f b1 98 | 00 00 00 60 43 41 52 44 |...h.O..|...`CARD|
|00005180| 00 00 66 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |..f.....|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|000051a0| 00 00 00 00 00 04 00 00 | 00 2c 00 01 37 31 33 00 |........|.,..713.|
|000051b0| 00 02 43 65 6e 74 72 61 | 6c 00 00 03 54 65 78 61 |..Centra|l...Texa|
|000051c0| 73 00 00 04 43 72 6f 63 | 6b 65 74 74 2c 20 48 6f |s...Croc|kett, Ho|
|000051d0| 75 73 74 6f 6e 00 00 00 | 00 00 02 88 00 4f b1 98 |uston...|.....O..|
|000051e0| 00 00 02 80 43 41 52 44 | 00 00 67 d8 00 00 00 00 |....CARD|..g.....|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 04 00 00 |...B....|........|
|00005210| 02 45 00 01 37 31 34 00 | 00 02 50 61 63 69 66 69 |.E..714.|..Pacifi|
|00005220| 63 00 00 03 43 61 6c 69 | 66 6f 72 6e 69 61 00 00 |c...Cali|fornia..|
|00005230| 04 41 6e 61 68 65 69 6d | 2c 20 41 72 6c 69 6e 67 |.Anaheim|, Arling|
|00005240| 74 6f 6e 2c 20 41 72 72 | 6f 77 68 65 61 64 2c 20 |ton, Arr|owhead, |
|00005250| 42 61 6c 62 6f 61 2c 20 | 42 61 6e 6e 69 6e 67 2c |Balboa, |Banning,|
|00005260| 20 42 65 61 75 6d 6f 6e | 74 2c 20 42 69 67 20 42 | Beaumon|t, Big B|
|00005270| 65 61 72 20 4c 61 6b 65 | 2c 20 42 72 65 61 2c 20 |ear Lake|, Brea, |
|00005280| 42 75 65 6e 61 20 50 61 | 72 6b 2c 20 43 61 70 69 |Buena Pa|rk, Capi|
|00005290| 73 74 72 61 6e 6f 20 42 | 65 61 63 68 2c 20 43 6c |strano B|each, Cl|
|000052a0| 61 72 65 6d 6f 6e 74 2c | 20 43 6f 6c 74 6f 6e 2c |aremont,| Colton,|
|000052b0| 20 43 6f 72 6f 6e 61 2c | 20 43 6f 72 6f 6e 61 20 | Corona,| Corona |
|000052c0| 44 65 6c 20 4d 61 72 2c | 20 43 6f 73 74 61 20 4d |Del Mar,| Costa M|
|000052d0| 65 73 61 2c 20 43 75 63 | 61 6d 6f 6e 67 61 2c 20 |esa, Cuc|amonga, |
|000052e0| 43 79 70 72 65 73 73 2c | 20 44 61 6e 61 20 50 6f |Cypress,| Dana Po|
|000052f0| 69 6e 74 2c 20 45 6c 73 | 69 6e 6f 72 65 2c 20 45 |int, Els|inore, E|
|00005300| 74 69 77 61 6e 64 61 2c | 20 46 6f 6e 74 61 6e 61 |tiwanda,| Fontana|
|00005310| 2c 20 46 75 6c 6c 65 72 | 74 6f 6e 2c 20 47 61 72 |, Fuller|ton, Gar|
|00005320| 64 65 6e 20 47 72 6f 76 | 65 2c 20 47 69 6c 6d 61 |den Grov|e, Gilma|
|00005330| 6e 20 48 6f 74 20 53 70 | 72 69 6e 67 73 2c 20 48 |n Hot Sp|rings, H|
|00005340| 65 6d 65 74 2c 20 48 75 | 6e 74 69 6e 67 74 6f 6e |emet, Hu|ntington|
|00005350| 20 42 65 61 63 68 2c 20 | 49 64 79 6c 6c 77 69 6c | Beach, |Idyllwil|
|00005360| 64 2c 20 4c 61 67 75 6e | 61 20 42 65 61 63 68 2c |d, Lagun|a Beach,|
|00005370| 20 4c 61 6b 65 20 41 72 | 72 6f 77 68 65 61 64 2c | Lake Ar|rowhead,|
|00005380| 20 4c 61 20 56 65 72 6e | 65 2c 20 4e 65 77 70 6f | La Vern|e, Newpo|
|00005390| 72 74 20 42 65 61 63 68 | 2c 20 4e 6f 72 63 6f 2c |rt Beach|, Norco,|
|000053a0| 20 4f 6e 74 61 72 69 6f | 2c 20 4f 72 61 6e 67 65 | Ontario|, Orange|
|000053b0| 2c 20 50 65 72 72 69 73 | 2c 20 50 6f 6d 6f 6e 61 |, Perris|, Pomona|
|000053c0| 2c 20 52 65 64 6c 61 6e | 64 73 2c 20 52 69 61 6c |, Redlan|ds, Rial|
|000053d0| 74 6f 2c 20 52 69 76 65 | 72 73 69 64 65 2c 20 53 |to, Rive|rside, S|
|000053e0| 61 6e 20 42 65 72 6e 61 | 72 64 69 6e 6f 2c 20 53 |an Berna|rdino, S|
|000053f0| 61 6e 20 43 6c 65 6d 65 | 6d 74 65 2c 20 53 61 6e |an Cleme|mte, San|
|00005400| 20 4a 61 63 69 6e 74 6f | 2c 20 53 61 6e 20 4a 75 | Jacinto|, San Ju|
|00005410| 61 6e 20 43 61 70 69 73 | 74 72 61 6e 6f 2c 20 53 |an Capis|trano, S|
|00005420| 61 6e 74 61 20 41 6e 61 | 2c 20 53 75 6e 6e 79 6d |anta Ana|, Sunnym|
|00005430| 65 61 64 2c 20 54 65 6d | 65 63 75 6c 61 2c 20 54 |ead, Tem|ecula, T|
|00005440| 75 73 74 69 6e 2c 20 55 | 70 6c 61 6e 64 2c 20 59 |ustin, U|pland, Y|
|00005450| 75 63 61 69 70 61 00 00 | 00 00 00 00 00 00 00 00 |ucaipa..|........|
|00005460| 00 00 00 88 00 4f b1 98 | 00 00 00 80 43 41 52 44 |.....O..|....CARD|
|00005470| 00 00 68 bb 00 00 00 00 | 00 00 00 00 00 00 00 00 |..h.....|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|00005490| 00 00 00 00 00 04 00 00 | 00 31 00 01 37 31 35 00 |........|.1..715.|
|000054a0| 00 02 43 65 6e 74 72 61 | 6c 00 00 03 57 69 73 63 |..Centra|l...Wisc|
|000054b0| 6f 6e 73 69 6e 00 00 04 | 45 61 75 20 43 6c 61 69 |onsin...|Eau Clai|
|000054c0| 72 65 2c 20 57 61 75 73 | 61 75 00 00 00 00 00 00 |re, Waus|au......|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 8c 00 4f b1 98 |........|.....O..|
|000054f0| 00 00 00 80 43 41 52 44 | 00 00 0f 25 00 00 00 00 |....CARD|...%....|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 04 00 00 |...B....|........|
|00005520| 00 32 00 01 32 30 36 00 | 00 02 50 61 63 69 66 69 |.2..206.|..Pacifi|
|00005530| 63 00 00 03 57 61 73 68 | 69 6e 67 74 6f 6e 00 00 |c...Wash|ington..|
|00005540| 04 53 65 61 74 74 6c 65 | 2c 20 56 61 6e 63 6f 75 |.Seattle|, Vancou|
|00005550| 76 65 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ver.....|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 0c | 00 06 fe 50 00 31 04 00 |........|...P.1..|
|00005580| 00 00 00 a8 00 4f b1 98 | 00 00 00 a0 43 41 52 44 |.....O..|....CARD|
|00005590| 00 00 69 e6 00 00 00 00 | 00 00 00 00 00 00 00 00 |..i.....|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|000055b0| 00 00 00 00 00 04 00 00 | 00 63 00 01 37 31 36 00 |........|.c..716.|
|000055c0| 00 02 45 61 73 74 65 72 | 6e 00 00 03 4e 65 77 20 |..Easter|n...New |
|000055d0| 59 6f 72 6b 00 00 04 41 | 6c 6c 65 67 61 6e 79 2c |York...A|llegany,|
|000055e0| 20 42 75 66 66 61 6c 6f | 2c 20 47 72 61 6e 64 20 | Buffalo|, Grand |
|000055f0| 49 73 6c 61 6e 64 2c 20 | 4c 61 63 6b 61 77 61 6e |Island, |Lackawan|
|00005600| 6e 61 2c 20 4e 69 61 67 | 61 72 61 20 46 61 6c 6c |na, Niag|ara Fall|
|00005610| 73 2c 20 52 6f 63 68 65 | 73 74 65 72 00 00 00 00 |s, Roche|ster....|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 a8 00 4f b1 98 |........|.....O..|
|00005630| 00 00 00 a0 43 41 52 44 | 00 00 6a 51 00 00 00 00 |....CARD|..jQ....|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 04 00 00 |...B....|........|
|00005660| 00 67 00 01 37 31 37 00 | 00 02 45 61 73 74 65 72 |.g..717.|..Easter|
|00005670| 6e 00 00 03 50 65 6e 6e | 73 79 6c 76 61 6e 69 61 |n...Penn|sylvania|
|00005680| 00 00 04 47 65 74 74 79 | 73 62 75 72 67 2c 20 48 |...Getty|sburg, H|
|00005690| 61 72 72 69 73 62 75 72 | 67 2c 20 48 65 72 73 68 |arrisbur|g, Hersh|
|000056a0| 65 79 2c 20 4c 65 62 61 | 6e 6f 6e 2c 20 4d 69 6c |ey, Leba|non, Mil|
|000056b0| 74 6f 6e 2c 20 53 63 72 | 61 6e 74 6f 6e 2c 20 53 |ton, Scr|anton, S|
|000056c0| 74 72 61 73 62 75 72 67 | 00 00 00 00 00 00 00 00 |trasburg|........|
|000056d0| 00 00 00 a8 00 4f b1 98 | 00 00 00 a0 43 41 52 44 |.....O..|....CARD|
|000056e0| 00 00 6b 93 00 00 00 00 | 00 00 00 00 00 00 00 00 |..k.....|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|00005700| 00 00 00 00 00 04 00 00 | 00 68 00 01 37 31 38 00 |........|.h..718.|
|00005710| 00 02 45 61 73 74 65 72 | 6e 00 00 03 4e 65 77 20 |..Easter|n...New |
|00005720| 59 6f 72 6b 00 00 04 42 | 72 6f 6f 6b 6c 79 6e 2c |York...B|rooklyn,|
|00005730| 20 4b 65 6e 6e 65 64 79 | 20 49 6e 74 27 6c 20 41 | Kennedy| Int'l A|
|00005740| 69 72 70 6f 72 74 2c 20 | 4c 61 20 47 75 61 72 64 |irport, |La Guard|
|00005750| 69 61 20 41 69 72 70 6f | 72 74 2c 20 51 75 65 65 |ia Airpo|rt, Quee|
|00005760| 6e 73 2c 20 53 74 61 74 | 65 6e 20 49 73 6c 61 6e |ns, Stat|en Islan|
|00005770| 64 00 00 00 00 00 00 00 | 00 00 00 88 00 4f b1 98 |d.......|.....O..|
|00005780| 00 00 00 80 43 41 52 44 | 00 00 6c aa 00 00 00 00 |....CARD|..l.....|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 03 00 00 |...B....|........|
|000057b0| 00 49 00 01 38 30 30 00 | 00 03 57 69 64 65 20 41 |.I..800.|..Wide A|
|000057c0| 72 65 61 20 54 65 6c 65 | 63 6f 6d 6d 75 6e 69 63 |rea Tele|communic|
|000057d0| 61 74 69 6f 6e 73 20 53 | 65 72 76 69 63 65 20 20 |ations S|ervice |
|000057e0| 28 57 41 54 53 29 00 00 | 04 41 6c 6c 20 6c 6f 63 |(WATS)..|.All loc|
|000057f0| 61 74 69 6f 6e 73 20 38 | 30 30 00 00 00 00 00 00 |ations 8|00......|
|00005800| 00 00 00 68 00 4f b1 98 | 00 00 00 60 43 41 52 44 |...h.O..|...`CARD|
|00005810| 00 00 6d 86 00 00 00 00 | 00 00 00 00 00 00 00 00 |..m.....|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|00005830| 00 00 00 00 00 04 00 00 | 00 2c 00 01 38 30 31 00 |........|.,..801.|
|00005840| 00 02 4d 6f 75 6e 74 61 | 69 6e 00 00 03 55 74 61 |..Mounta|in...Uta|
|00005850| 68 00 00 04 61 6c 6c 20 | 6c 6f 63 61 74 69 6f 6e |h...all |location|
|00005860| 73 20 38 30 31 00 00 00 | 00 00 00 88 00 4f b1 98 |s 801...|.....O..|
|00005870| 00 00 00 80 43 41 52 44 | 00 00 6e a0 00 00 00 00 |....CARD|..n.....|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 04 00 00 |...B....|........|
|000058a0| 00 2e 00 01 38 30 32 00 | 00 02 45 61 73 74 65 72 |....802.|..Easter|
|000058b0| 6e 00 00 03 56 65 72 6d | 6f 6e 74 00 00 04 61 6c |n...Verm|ont...al|
|000058c0| 6c 20 6c 6f 63 61 74 69 | 6f 6e 73 20 38 30 32 00 |l locati|ons 802.|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 a8 00 4f b1 98 | 00 00 00 a0 43 41 52 44 |.....O..|....CARD|
|00005900| 00 00 70 8b 00 00 00 00 | 00 00 00 00 00 00 00 00 |..p.....|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|00005920| 00 00 00 00 00 04 00 00 | 00 4e 00 01 38 30 34 00 |........|.N..804.|
|00005930| 00 02 45 61 73 74 65 72 | 6e 00 00 03 56 69 72 67 |..Easter|n...Virg|
|00005940| 69 6e 69 61 00 00 04 43 | 68 61 72 6c 6f 74 74 65 |inia...C|harlotte|
|00005950| 73 76 69 6c 6c 65 2c 20 | 4e 65 77 70 6f 72 74 20 |sville, |Newport |
|00005960| 4e 65 77 73 2c 20 4e 6f | 72 66 6f 6c 6b 2c 20 52 |News, No|rfolk, R|
|00005970| 69 63 68 6d 6f 6e 64 00 | 00 00 00 00 00 00 00 00 |ichmond.|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 02 08 00 4f b1 98 |........|.....O..|
|000059a0| 00 00 02 00 43 41 52 44 | 00 00 71 e5 00 00 00 00 |....CARD|..q.....|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 04 00 00 |...B....|........|
|000059d0| 01 b8 00 01 38 30 35 00 | 00 02 50 61 63 69 66 69 |....805.|..Pacifi|
|000059e0| 63 00 00 03 43 61 6c 69 | 66 6f 72 6e 69 61 00 00 |c...Cali|fornia..|
|000059f0| 04 41 72 72 6f 79 6f 20 | 47 72 61 6e 64 65 2c 20 |.Arroyo |Grande, |
|00005a00| 41 74 61 73 63 61 64 65 | 72 6f 2c 20 41 76 69 6c |Atascade|ro, Avil|
|00005a10| 61 2c 20 42 61 6b 65 72 | 73 66 69 65 6c 64 2c 20 |a, Baker|sfield, |
|00005a20| 43 61 6d 65 72 69 6c 6c | 6f 2c 20 43 61 6d 62 72 |Camerill|o, Cambr|
|00005a30| 69 61 2c 20 43 61 72 70 | 65 6e 74 65 72 69 61 2c |ia, Carp|enteria,|
|00005a40| 20 44 65 6c 61 6e 6f 2c | 20 45 61 72 6c 69 6d 61 | Delano,| Earlima|
|00005a50| 72 74 2c 20 46 69 6c 6c | 6d 6f 72 65 2c 20 46 72 |rt, Fill|more, Fr|
|00005a60| 61 7a 69 65 72 20 50 61 | 72 6b 2c 20 48 75 65 6e |azier Pa|rk, Huen|
|00005a70| 65 6d 65 2c 20 4c 61 6e | 63 61 73 74 65 72 2c 20 |eme, Lan|caster, |
|00005a80| 4c 6f 6d 70 6f 63 2c 20 | 4d 6f 6a 61 76 65 2c 20 |Lompoc, |Mojave, |
|00005a90| 4d 6f 6f 72 70 61 72 6b | 2c 20 4d 6f 72 72 6f 77 |Moorpark|, Morrow|
|00005aa0| 20 42 61 79 2c 20 4e 65 | 77 68 61 6c 6c 2c 20 4f | Bay, Ne|whall, O|
|00005ab0| 6a 61 69 2c 20 4f 78 6e | 61 72 64 2c 20 50 61 6c |jai, Oxn|ard, Pal|
|00005ac0| 6d 64 61 6c 65 2c 20 50 | 61 73 6f 20 52 6f 62 6c |mdale, P|aso Robl|
|00005ad0| 65 73 2c 20 50 69 73 6d | 6f 20 42 65 61 63 68 2c |es, Pism|o Beach,|
|00005ae0| 20 50 6f 69 6e 74 20 4d | 75 67 75 2c 20 50 6f 72 | Point M|ugu, Por|
|00005af0| 74 20 48 75 65 6e 65 6d | 65 2c 20 52 6f 73 61 6d |t Huenem|e, Rosam|
|00005b00| 6f 6e 64 2c 20 53 61 6e | 20 4c 6f 75 69 73 20 4f |ond, San| Louis O|
|00005b10| 62 69 73 70 6f 2c 20 53 | 61 6e 20 53 69 6d 65 6f |bispo, S|an Simeo|
|00005b20| 6e 2c 20 53 61 6e 74 61 | 20 42 61 72 62 61 72 61 |n, Santa| Barbara|
|00005b30| 2c 20 53 61 6e 74 61 20 | 4d 61 72 69 61 2c 20 53 |, Santa |Maria, S|
|00005b40| 61 6e 74 61 20 50 61 75 | 6c 61 2c 20 53 61 74 69 |anta Pau|la, Sati|
|00005b50| 63 6f 79 2c 20 53 69 6d | 69 20 56 61 6c 6c 65 79 |coy, Sim|i Valley|
|00005b60| 2c 20 54 61 66 74 2c 20 | 54 65 68 61 63 68 61 70 |, Taft, |Tehachap|
|00005b70| 69 2c 20 54 68 6f 75 73 | 61 6e 64 20 4f 61 6b 73 |i, Thous|and Oaks|
|00005b80| 2c 20 56 65 6e 74 75 72 | 61 00 00 00 00 00 00 00 |, Ventur|a.......|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 88 00 4f b1 98 | 00 00 00 80 43 41 52 44 |.....O..|....CARD|
|00005bb0| 00 00 72 99 00 00 00 00 | 00 00 00 00 00 00 00 00 |..r.....|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|00005bd0| 00 00 00 00 00 04 00 00 | 00 41 00 01 38 30 36 00 |........|.A..806.|
|00005be0| 00 02 43 65 6e 74 72 61 | 6c 00 00 03 54 65 78 61 |..Centra|l...Texa|
|00005bf0| 73 00 00 04 41 6d 61 72 | 69 6c 6c 6f 2c 20 48 65 |s...Amar|illo, He|
|00005c00| 72 65 66 6f 72 64 2c 20 | 4c 75 62 62 6f 63 6b 2c |reford, |Lubbock,|
|00005c10| 20 50 6c 61 69 6e 76 69 | 65 77 00 00 00 00 00 00 | Plainvi|ew......|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 68 00 4f b1 98 |........|...h.O..|
|00005c30| 00 00 00 60 43 41 52 44 | 00 00 73 86 00 00 00 00 |...`CARD|..s.....|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 03 00 00 |...B....|........|
|00005c60| 00 22 00 01 38 30 37 00 | 00 02 45 61 73 74 65 72 |."..807.|..Easter|
|00005c70| 6e 00 00 03 4f 6e 74 61 | 72 69 6f 2c 20 43 61 6e |n...Onta|rio, Can|
|00005c80| 61 64 61 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ada.....|........|
|00005c90| 00 00 00 68 00 4f b1 98 | 00 00 00 60 43 41 52 44 |...h.O..|...`CARD|
|00005ca0| 00 00 74 18 00 00 00 00 | 00 00 00 00 00 00 00 00 |..t.....|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 08 42 00 00 00 00 |........|...B....|
|00005cc0| 00 00 00 00 00 03 00 00 | 00 23 00 01 38 30 38 00 |........|.#..808.|
|00005cd0| 00 03 48 61 77 61 69 69 | 00 00 04 61 6c 6c 20 6c |..Hawaii|...all l|
|00005ce0| 6f 63 61 74 69 6f 6e 73 | 20 38 30 38 00 00 00 00 |ocations| 808....|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 01 68 00 4f b1 98 |........|...h.O..|
|00005d00| 00 00 01 60 43 41 52 44 | 00 00 75 66 00 00 00 00 |...`CARD|..uf....|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 08 42 00 00 00 00 | 00 00 00 00 00 03 00 00 |...B....|........|
|00005d30| 01 13 00 01 38 30 39 00 | 00 03 43 61 72 69 62 62 |....809.|..Caribb|
|00005d40| 65 61 6e 20 49 73 6c 61 | 6e 64 73 00 00 04 41 6e |ean Isla|nds...An|
|00005d50| 67 75 69 6c 6c 61 2c 20 | 41 6e 74 69 67 75 61 2c |guilla, |Antigua,|
|00005d60| 00 00 02 80 46 52 45 45 | 00 00 00 00 13 46 72 65 |....FREE|.....Fre|
|00005d70| 65 20 4f 62 6a 65 63 74 | 20 20 20 20 20 20 20 20 |e Object| |
|00005d80| ff bf bf fd e7 fb bf e1 | dd ff 47 bd be fb ff 5f |........|..G...._|
|00005d90| ef f6 f6 f5 ee 37 fe 5f | ff e3 f3 7f 00 00 ad da |.....7._|........|
|00005da0| a0 38 df 9f 5e ba e7 8c | 3b ef bd 37 0f a4 76 3b |.8..^...|;..7..v;|
|00005db0| fa 5d 72 df c0 d4 ff ec | eb 6b 7f 82 e5 a7 fb 24 |.]r.....|.k.....$|
|00005dc0| 40 bc d1 7f f7 dd af 6b | b7 5f a0 61 bd b3 fe fd |@......k|._.a....|
|00005dd0| af fc dc ad fb db f9 ba | 76 57 6e 7c eb ff f1 df |........|vWn|....|
|00005de0| 00 00 9d 7f a0 3e ba cb | fc b5 77 d4 be 7f f7 bf |.....>..|..w.....|
|00005df0| 87 9e 57 7a fb 7f a9 ae | 9f e3 9c f7 f2 19 72 96 |..Wz....|......r.|
|00005e00| 00 00 01 af 00 00 07 18 | ff 01 00 02 00 00 25 00 |........|......%.|
|00005e10| 00 00 00 68 1f 45 6e 67 | 2e 2f 53 63 69 65 6e 74 |...h.Eng|./Scient|
|00005e20| 69 66 69 63 20 53 6f 6c | 75 74 69 6f 6e 73 20 47 |ific Sol|utions G|
|00005e30| 75 69 64 65 02 00 00 00 | 53 54 41 4b 57 49 4c 44 |uide....|STAKWILD|
|00005e40| 01 00 ff fd 00 78 00 00 | 00 00 16 77 00 00 00 02 |.....x..|...w....|
|00005e50| c0 00 00 02 d0 00 00 00 | 00 01 64 ac 00 01 68 00 |........|..d...h.|
|00005e60| 9e 92 b5 0c a0 e2 df 37 | 00 00 00 00 51 4a 00 00 |.......7|....QJ..|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 de 5d |........|.......]|
|00005e80| 00 12 00 00 00 00 00 00 | 00 00 de 6f 00 09 00 00 |........|...o....|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 0b 00 00 00 00 68 |........|.......h|
|00005ea0| 05 49 6e 64 65 78 02 00 | 00 00 53 54 41 4b 57 49 |.Index..|..STAKWI|
|00005eb0| 4c 44 01 00 00 b3 00 11 | 00 00 00 00 16 78 00 00 |LD......|.....x..|
|00005ec0| 00 03 80 00 00 03 98 00 | 00 00 00 00 a0 2e 00 00 |........|........|
|00005ed0| c8 00 9e 53 54 13 a0 e2 | df 3e 00 00 00 00 51 4a |...ST...|.>....QJ|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| de 78 00 0c de f9 00 0b | 00 00 00 00 de 84 00 05 |.x......|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 0b 00 00 00 00 68 | 05 49 6e 64 65 78 02 00 |.......h|.Index..|
|00005f20| 00 00 53 54 41 4b 57 49 | 4c 44 01 00 00 b3 00 11 |..STAKWI|LD......|
|00005f30| 00 00 00 00 16 78 00 00 | 00 01 bb 80 00 01 e0 00 |.....x..|........|
|00005f40| 00 00 00 00 a0 2e 00 00 | c8 00 9e 53 54 13 a0 e2 |........|...ST...|
|00005f50| dd 22 00 00 00 00 51 4a | 00 00 00 00 00 00 00 00 |."....QJ|........|
|00005f60| 00 00 00 00 00 00 00 00 | de 78 00 0c 00 00 00 00 |........|.x......|
|00005f70| 00 00 00 00 de 84 00 05 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 de 6f 00 09 | 00 00 00 00 00 00 00 00 |.....o..|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 20 54 41 49 4c | ff ff ff ff 13 54 68 61 |... TAIL|.....Tha|
|00005ff0| 74 27 73 20 61 6c 6c 20 | 66 6f 6c 6b 73 2e 2e 2e |t's all |folks...|
+--------+-------------------------+-------------------------+--------+--------+